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

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Vanilla 2.3 fully supports PHP 7. Get it now!

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 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.