path パラメータ
-
Atlas Project/Group ID。
-
アプリケーションの ObjectID。App Services API プロジェクトとアプリケーション ID のセクションでは、この値を見つける方法が示されています。
-
配置案のユニークな
_id
値。
POST /groups/{groupId}/apps/{appId}/drafts/{draftId}/deployment
curl \
--request POST 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/drafts/{draftId}/deployment' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"string"}'
リクエスト例
{
"name": "string"
}
応答の例(201)
{
"_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"
}