Root
On this page
- OAuth 2.0 authentication for programmatic access to Cloud Manager is available as a Preview feature.
- The feature and the corresponding documentation might change at any time during the Preview period. To use OAuth 2.0 authentication, create a service account to use in your requests to the Cloud Manager Public API.
The root resource is the starting point for the Cloud Manager API. From
here, you can traverse the links
to reach all other API resources.
Base URL: https://cloud.mongodb.com/api/public/v1.0
Resource
GET /
Request Path Parameters
This endpoint doesn't use HTTP request path parameters.
Request Query Parameters
The following query parameters are optional:
Name | Type | Necessity | Description | Default |
---|---|---|---|---|
pageNum | number | Optional | One-based integer that returns a subsection of results. |
|
itemsPerPage | number | Optional | Number of items to return per page, up to a maximum of 500. |
|
pretty | boolean | Optional | Flag that indicates whether the response body should be in a prettyprint format. |
|
envelope | boolean | Optional | Flag that indicates whether or not to wrap the response in an envelope. Some API clients cannot access the HTTP response headers or
status code. To remediate this, set For endpoints that return a list of results, the |
|
backupJobsEnabledOnly | boolean | Optional | Flag indicating whether to exclude daemons not enabled for
backing up databases from the response. Set this to |
|
Request Body Parameters
This endpoint doesn't use HTTP request body parameters.
Response
The response includes:
Name | Type | Description |
---|---|---|
appName | string | MongoDB Cloud |
build | string | The SHA that corresponds to the GitHub commit for the Cloud Manager. |
links | object array | One or more links to sub-resources and/or related resources. All
|
throttling | boolean | The field is obsolete and has the value |
Example Request
curl --user '{PUBLIC-KEY}:{PRIVATE-KEY}' --digest \ --header 'Accept: application/json' \ --include \ --request GET "https://cloud.mongodb.com/api/public/v1.0"
Example Response
{ "appName" : "MongoDB Cloud", "build" : "ec8b09b880be314981caa9d8fbefc3280056522e", "links" : [ ], "throttling" : false }