Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1542

Joomla! 5.x Coding • is server side presorting api endpoint possible?

$
0
0
im trying to use the joomla api feature to pull articles at the moment, but i want to ask for the articles in alphabetical order or ordered by id or something!

i tried this /api/index.php/v1/content/articles?sort[0][field]=title&sort[0][direction]=asc and /api/index.php/v1/content/articles?sort[0][field]=id&sort[0][direction]=asc

but i keep getting the latest published articles first.

do anyone know if we're suppose to be able to call the api and have it sort prior to sending the json?

Statistics: Posted by keewong — Fri Nov 15, 2024 6:27 am



Viewing all articles
Browse latest Browse all 1542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>