Skip to content

feat: update specs #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

shortcuts
Copy link
Member

This PR is automatically created by https://github.com/algolia/api-clients-automation

It contains the latest generated guides.

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
@shortcuts shortcuts requested a review from kombucha May 15, 2025 08:36
@@ -87,7 +90,7 @@
}
}
},
"summary": "Send requests to the Algolia Query Suggestions REST API",
"summary": "Send requests to the Algolia REST API",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Summary and description are now too generic to be useful, the source should be updated before we can accept automated updates

Copy link
Member Author

Choose a reason for hiding this comment

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

Those are really escape hatch for API client users I guess they would be better of filtered on the mcp indeed

},
"put": {
"operationId": "customQuerySuggestionPut",
"operationId": "customPut",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm guessing the method name was adapted to make it more unique and avoid collision. I guess we need to to keep customPut/customGet... everywhere though since it's used to generate the clients right?
I don't think it's an issue, but one more reason to exclude these methods when generating tools from the specs

@@ -98,8 +102,7 @@
"404": {
"$ref": "#/components/responses/IndexNotFound"
}
},
"tags": ["analytics"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it expected that we lose the tags? We don't leverage them currently afaik, but it could be useful metadata 👀

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah good point, the tags are only there for documentation purposes but those custom methods are not part of the API reference, so not tagged

}
},
"/1/status": {
"get": {
"operationId": "getClustersStatus",
"operationId": "getStatus",
Copy link
Collaborator

Choose a reason for hiding this comment

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

we also have a getStatus in analytics, which is why the monitoring one was renamed to getClustersStatus. Not sure what the best way to reconcile this would be though 🤔

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure what the best way to reconcile this would be though 🤔

Actually maybe we could try namespacing the tools names
getStatus -> monitoring:getStatus / analytics:getStatus

Copy link
Member Author

Choose a reason for hiding this comment

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

that would make sense indeed!

@@ -388,11 +414,17 @@
}
},
"patch": {
"tags": ["ingestion"],
"tags": [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is authentications more correct than ingestion here? 👀

Copy link
Member Author

Choose a reason for hiding this comment

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

yes we are already in the ingestion "context" and authentications is a building block of the platform so with something like #44 (comment) that would be best

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.

3 participants