Get Hosting Configuration
Returns the current hosting configuration. Hosting is active
if the response includes status: "setup_ok"
.
Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
GET
/groups/{groupId}/apps/{appId}/hosting/config
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/hosting/config' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"enabled": true,
"status": "setup_ok",
"default_domain": {
"provider_type": "aws",
"config": {
"app_default_domain": "myapp-qldqx.mongodbstitch.com"
}
}
}