Get a deployment
Get information about a recent deployment of the application.
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
_id
value of an application deployment.
GET /groups/{groupId}/apps/{appId}/deployments/{deploymentId}
curl \ --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/deployments/{deploymentId}' \ --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" }