Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

Question about the API

Hi guys, am a new developer and vanilla forums user.

Just have a question about the API, say I am making an android app to be able to search my forums. I noticed that the API here has this


and it says it takes advanced parameters if advanced search is on, if I want it to look for exact matches would I use this as the request?:

"GET /api/search?Search=+"search String" "
Or how would I use it? because I notice this is what parameters it says it takes on the documentatoin:
search string
The search parameter is a list of keywords to search. There is also an advanced syntax you can use to modify the keywords:
“keyword phrase”: A phrase wrapped in quotes must occur in that order.
+keyword: The keyword must occur in the search result.
-keyword: The keyword must not occur in the result.**

I want to use the +keyword parameter. Sorry guys I have never used API before and i am a new developer. Thx alot!


  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    Seems like you are speaking about the advanced search which is provided by a plugin. Vanilla only offers a very basic search. That might be the reason why you cannot get it working with the API.

Sign In or Register to comment.