I've managed to get the GET and PATCH webservices working using the PHP Curl interface - no Joomla and now I have a related question.
I can see from the samples that I can request all the articles in a category by using something like:
https://test.peacecoalition.org/api/ind ... ategory]=2
Is 'category' the ONLY filter available?? it would be very nice to be able to retrieve articles filtered by other attributes - and/or to retrieve an article by its alias or by its name. I have tried
https://test.peacecoalition.org/api/ind ... alias-name'
and
https://test.peacecoalition.org/api/ind ... alias-name
and neither of those seem to do anything at all. I get back ALL the articles on the site.
Have I missed something? Is this kind of filter thing implemented ONLY for category (which should probably really have been catId)?
Is there documentation of this filter thing beyond its appearance in the sample code??
I can see from the samples that I can request all the articles in a category by using something like:
https://test.peacecoalition.org/api/ind ... ategory]=2
Is 'category' the ONLY filter available?? it would be very nice to be able to retrieve articles filtered by other attributes - and/or to retrieve an article by its alias or by its name. I have tried
https://test.peacecoalition.org/api/ind ... alias-name'
and
https://test.peacecoalition.org/api/ind ... alias-name
and neither of those seem to do anything at all. I get back ALL the articles on the site.
Have I missed something? Is this kind of filter thing implemented ONLY for category (which should probably really have been catId)?
Is there documentation of this filter thing beyond its appearance in the sample code??
Statistics: Posted by davidascher — Tue Apr 09, 2024 9:22 pm