Want to get posts by tag name with cURL


#1
"https://demo.ghost.io/ghost/api/v2/content/posts/key=123&include=tags,authors" 
 we get all posts .
 I want to get posts by a specific tag name for example curl 
"https://demo.ghost.io/ghost/api/v2/content/posts/?key=123&tag=getting-started"

but it not work . please any one can help me ?

#2

There is no tag query parameter. You need to use the filter parameter:


#3

Yes. it worked… thanks


closed #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.