How do I query Ghost Content API for both tags and title?
I’m looking to filter the posts by tag, say “compare” and then filter title which matches a string like “power”
Tried below methods but didn’t work
&filter=tag:compare&title:~‘power’ and &filter=tag:compare,title:~‘power’
Even tried separate filter queries but that also didn’t work
What am I missing?
From my recollection, if you want to AND 2 filters together, you need to use the
Tried that, it didn’t work. Getting “Error parsing filter”
The filter query must be URI-encoded. The official client libraries take care of that. Otherwise you have to do it yourself.
Got it thanks. It worked with the below url