Search Api (or operation)
In Search API normally we use "&"(ampersand) to combine two query.
If possible to use "OR" operation between two query?
Ex.
https://{{api.box.com}}/2.0/search?&query= test or type= file
-
Hi , yes you can, kind of.
You can use the logical operators (AND, OR) in a search query, for example:
query="john OR steve"
(PS: make sure to URL encode this in your actual query).
What you can not do though is search for a certain query value OR an item type of "file".
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire