Is there any API for searching documentation?

Weihua Miao 20 Reputation points Microsoft Employee
2023-08-30T07:07:30.6033333+00:00

Hi,

Is there any API for searching documentation in Microsoft Learn?

Thanks.

Weihua Miao

Community Center | Not monitored
0 comments No comments
{count} votes

Accepted answer
  1. AirGordon 7,150 Reputation points
    2023-08-30T07:13:33.9833333+00:00

    There sure is.

    https://learn.microsoft.com/api/search

    For example, to search the Documentation for the term test, I can just augment the query string and then make a HTTP GET request.;

    https://learn.microsoft.com/api/search/?search=test&locale=en-us&%24filter=%28category+eq+%27Documentation%27%29

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.