My Requirements,
I need to search for the file and also files customized properties through rest API but inside a specific folder in SharePoint.
I have used:
https://domain.com/_api/search/query?querytext='Title: Design' /GET
The above rest api returns the search result but it searches in the whole sharepoint document library. For searching the file properties and returing the file properties I have tried:
https://{tenant}.sharepoint.com/_api/search/query?querytext='Title: no'&selectproperties='Title,City,Phase,Job'
But the response from the above query is it returns only the Title but not the all other customized prroperties of the files
How can I achieve my requirements through rest API of SharePoint?