Skip to content

feat: add search query endpoint with request examples#34

Open
dschmidt wants to merge 4 commits intomainfrom
feat/search
Open

feat: add search query endpoint with request examples#34
dschmidt wants to merge 4 commits intomainfrom
feat/search

Conversation

@dschmidt
Copy link
Copy Markdown

@dschmidt dschmidt commented Apr 10, 2026

Added a new search endpoint for querying resources with detailed request and response structures, including examples for various search scenarios.

Based on the MS Graph Search Api of course:

https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0

I'm also willing to implement that endpoint

Added a new search endpoint for querying resources with detailed request and response structures, including examples for various search scenarios.

Based on the MS Graph Search Api of course: 

https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an OpenAPI definition for a new beta search endpoint modeled after Microsoft Graph Search, including request/response schemas and multiple example payloads to document common search scenarios.

Changes:

  • Introduces POST /v1beta1/search/query with detailed description and request/response examples.
  • Adds search-related schemas (searchRequest, searchQuery, searchResponse, aggregation/bucket schemas) under components/schemas.
  • Wires the new endpoint to the new schemas via $ref to keep the spec structured.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants