List recent deployments
Return the 25 most recent application deployments.
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}/deployments
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/deployments' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"_id": "string",
"name": "string",
"app_id": "string",
"draft_id": "string",
"user_id": "string",
"deployed_at": 42,
"origin": "string",
"commit": "string",
"status": "string",
"status_error_message": "string",
"diff_url": "string",
"remote_location": "US-VA"
}
]