Search notes, new apis
Search notes, new apis
New APIs (preview) are available for Microsoft Search. These new APIs include Bookmarks and QnA.
If you’re unfamiliar with Bookmarks and QnA, you can get caught up here:
Bookmark answers versus authoratative pages
bookmark resource type
A bookmark is an administrative answer in Microsoft Search results for common search queries in an organization. A bookmark has many properties which allow administrators to make common resources more accessible in their organization.
Learn more about the bookmark resource type at https://docs.microsoft.com/en-us/graph/api/resources/search-bookmark?view=graph-rest-beta.
qna resource type Q&As are administrative answer results in the search results page which provide answers for specific search keywords. Q&As allow administrators to answer the user’s questions directly in search instead of providing a link to a webpage. A Q&A has many properties which allow administrators to make common resources more accessible in their organization.
Learn more about the resource qna type at https://docs.microsoft.com/en-us/graph/api/resources/search-qna?view=graph-rest-beta.
Both the bookmark and qna resource types inherit from the searchAnswer resource type.
In addition you can all both bookmarks and qna with application based permissions.
To get started with the Microsoft Search api and check out samples see https://github.com/microsoft-search.
You can also use these commands to find the search admin resources:
- Get-MgSearchBookmark
- Get-Command -Module Microsoft.Graph
To get started with PowerShell, you will need to install the Microsoft Graph PowerShell SDK.