路径参数
-
Atlas 项目/组 ID。
-
您的应用程序的 ObjectID。App Services API 项目和应用程序 ID 部分演示了如何查找此值。
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"
响应示例 (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"
}
]