Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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

/search

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!

Tagged:

Comments

  • R_JR_J Admin

    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.