We are using Alfresco CE 5.2. Using the REST API for Search, we want to restrict the search to a particular site only. Going through the Search API details on the API explorer page, we did not find any details on how to restrict search to one site.
We also tried the following solution provided by someone else:
"query": "PARENT:<node ID> AND =name:'<search query>'"
However, this did not return any results for us.
Is there a way to use the REST API to search within a specific site or folder?