Mongo Atlas API - Get Databases and Collections in a Cluster
1
vote
1
answer
1148
views
So with Mongo Atlas I can easily list clusters in a project by calling the API as follows:
curl -i -u ":" --digest "https://cloud.mongodb.com/api/atlas/v1.0/groups//clusters "
I want to list all database (and if possible all nested collections) for a particular cluster.
Is this possible via the API - I am sure it must be but I am not seeing it in the documentation.
I want to avoid having to connect to each cluster and collecting this information with a query - this is for a service discovery tool I am building for inventorying purposes.
Thanks
Asked by Molenpad
(1814 rep)
Dec 31, 2018, 01:40 PM
Last activity: Nov 29, 2019, 12:49 AM
Last activity: Nov 29, 2019, 12:49 AM