cblown
13 years agoBoss
Query Custom Tags
Hey We are looking into quering Custom Tags and we have this call working /restapi/vc/posts/for/metadata/key/modbar.negativecomment/value/true/count However we'd like to query this count ...
While you can use the same parameters from the message search in the UI with the message search in the REST API, the same is not necessarily true for the custom tags search since these are two separate searches.
However, it is possible to include metadata as part of the REST API message search... You can include it as part of the q parameter in the format "key:value". For example:
/search/messages?q=modbar.negativecomment:true
From there you can add in other search criteria (such as date).