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

Joomla! 5.x Coding • Re: Using the Webservices API to read an article

$
0
0
I'm still unable to get ANY filter to work at all.
For example, I have tried using Postman with
https://t2.peacecoalition.org/api/index ... featured=1
or
https://t2.peacecoalition.org/api/index ... ewsletters
or anything else I could think of for the filter value and in every case I got back 20 articles and this

Code:

  "links": {        "self": "https://t2.peacecoalition.org/api/index.php/v1/content/articles?[filter]alias=newsletters",        "next": "https://t2.peacecoalition.org/api/index.php/v1/content/articles?page%5Boffset%5D=20&page%5Blimit%5D=20",        "last": "https://t2.peacecoalition.org/api/index.php/v1/content/articles?page%5Boffset%5D=560&page%5Blimit%5D=20"    }
As far as I can tell the filter in my request was completely ignored and ALL the articles would eventually be retrieved if I followed the "next" links. Is there still something I am doing incorrectly when I submit my innitial request? I'm guessing that the limit to 20 articles at a shot is a Postman thing... but I have ONLY ONE Article with the alias "newsletters" and that's the only one I want to retrieve.

Statistics: Posted by davidascher — Sun Apr 14, 2024 7:37 pm



Viewing all articles
Browse latest Browse all 1832

Trending Articles



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