Are there any use cases for the search API?
The search API does not support aggregations for message, event, site or drive. Customizations in SharePoint search, such as a custom search schema or result sources, can interfere with the operation of the Microsoft Search API. Learn more about a few key use cases:
How is the search API used in Microsoft Docs?
In the following document, the placeholder base URL {@id} will be used. All URLs found in the registration resource support the HTTP methods GET and HEAD. The search API allows a client to query for a page of packages matching a specified search query.
How does Google Custom search JSON API work?
The Custom Search JSON API lets you develop websites and applications to retrieve and display search results from Google Custom Search programmatically. With this API, you can use RESTful requests to get either web search or image search results in JSON format.
Why does the search API not support the fields option?
The search API does not technically support these query options because the behavior is expressed in the POST body. For all these entity types, specifying the fields property reduces the number of properties returned in the response, optimizing the payload over the wire.
What are the limitations of the search API?
The search API returns error responses as defined by OData error object definition, each of which is a JSON object containing a code and a message. The search API has the following limitations: The query method is defined to allow passing a collection of one or more searchRequest instances at once.
How does Microsoft Search work with the API?
Search requests run in the context of the signed-in user, identified using an access token with delegated permissions. The Microsoft Search API provides a query method to search across your data in Microsoft Search, where you pass a searchRequest in the request body, defining the specifics of your search.