Diff a draft with the current deployment
Return a diff between the currently deployed application and the specified draft.
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.
-
The unique
_id
value of a draft.
GET
/groups/{groupId}/apps/{appId}/drafts/{draftId}/diff
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/drafts/{draftId}/diff' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"diffs": [
"string"
],
"hosting_files_diff": {
"added": [
"string"
],
"deleted": [
"string"
],
"modified": [
"string"
]
}
}