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

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

$
0
0
Hey David,

you are welcome. As SharkyKZ said, you need to send the query parameter properly.

Example:

Code:

?filter[tag]=Joomla
You may set the following filter elements:

Code:

authorcategorysearchstatefeaturedtaglanguage
Example code for all featured and published articles with the tag Joomla from the author with the ID 42:

Code:

DOMAIN/api/index.php/v1/content/articles?filter[tag]=Joomla&filter[author]=42&filter[featured]=1&filter[state]=1
Replace the placeholder DOMAIN with your domain.

Have success!

Statistics: Posted by Kubik-Rubik — Mon Apr 15, 2024 9:56 am



Viewing all articles
Browse latest Browse all 1927

Trending Articles



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