mgmonteleone / python-atlasapi

python package for MongoDB Atlas Cloud provider
Apache License 2.0
21 stars 22 forks source link

Implement Serverless Endpoints #146

Closed macintacos closed 1 year ago

macintacos commented 2 years ago

Documentation: https://www.mongodb.com/docs/atlas/reference/api/serverless-instances/

As far as I can tell, there is no serverless endpoint that we can call in this module. Would be great to have it!

Method Endpoint Description
GET /groups/{groupId}/serverless/{instanceName} Returns one serverless instance in the specified project.
GET /groups/{groupId}/serverless Returns all serverless instances in the specified project.
POST /groups/{groupId}/serverless Creates one serverless instance in the specified project.
PATCH /groups/{groupId}/serverless/{instanceName} Updates one serverless instance in the specified project.
DELETE /groups/{groupId}/serverless/{instanceName} Removes one serverless instance in the specified project.
mgmonteleone commented 2 years ago

Thanks @macintacos , will look at getting this in next. Need to decide if this will be a 3.0 only endpoint.

mgmonteleone commented 1 year ago

Implemented in 3.0.1b3