HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
API v2 search (with tag)
Based on the APIv2, there are API with searching (filtering) machanism.
However, It is not seems to work with tags. Is there a ways to search (discussion) with specific tag or multiple tags.
Tagged:
0
Answers
Anyone with some experience in this?
tags[]
array[string]
(query)
Filter discussions by matching tags.
tagOperator
string
(query)
Tags search condition. Must be one of: "and", "or".
Available values : and, or
Default value : or
For more inforamtion.
The search parameter that we use is look like this but it is not seems to work.
..../api/v2/search?domain=discussions&page=1&limit=10&tagsOptions%5B0%5D%5Bvalue%5D=1&tagsOptions%5B0%5D%5Blabel%5D=Nutrition&tagsOptions%5B0%5D%5BtagCode%5D=Nutrition&tagsOptions%5B1%5D%5Bvalue%5D=4&tagsOptions%5B1%5D%5Blabel%5D=American&tagsOptions%5B1%5D%5BtagCode%5D=American&tags%5B0%5D=Nutrition&tags%5B1%5D=American&sort=relevance&recordTypes%5B0%5D=discussion' \
And in the community version of forums, search by tag is not working also (as you can see in attached image) because it will call the same search API.
this works
https://open.vanillaforums.com/discussions/tagged/search
@Kaspar Is that possible to use APIv2 ? Thank you.
IDK
It was just an observation that that way returns a result.
Thank you so much @Kaspar .
Additionally, for calling non-public APIv2 like this "https://open.vanillaforums.com/discussions/tagged/search"
Do you have any information that how to call it ? (about the authentication, and ETC).