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?
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