Atlas admin API SDK, OpenAPI, swagger, or other schema?

Is there any SDKs (node?) or at a minimum an OpenAPI, swagger, or other schema document published with the API or available somewhere? I would like to automate some interactions with the admin API but right now that involves browsing the API docs for each endpoint and figuring out the various options/etc vs just generating from the api schema. I’d rather not have to write a scraper that retrieves what I need from the docs site.

Also, if there was a published API schema then the Atlas portion of the mongocli and things like the Atlas Terraform provider could be kept current more easily through code generation. As it is now, things like the TF provider are missing a lot of API endpoints.

Thanks for a great product!

3 Likes

yes, the download URL is on the spec page:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/