경로 매개변수
-
Atlas 프로젝트/그룹 ID입니다.
-
애플리케이션의 ObjectID입니다. App Services API 프로젝트 및 애플리케이션 ID 섹션은 이 값을 찾는 방법을 보여줍니다.
PATCH /groups/{groupId}/apps/{appId}/ 배포/config
curl \
--request PATCH 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/deploy/config' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"ui_drafts_disabled":true,"automatic_deployment":{"enabled":true,"provider":"github","installation_ids":["string"]},"last_modified":42.0}'
요청 예시
{
"ui_drafts_disabled": true,
"automatic_deployment": {
"enabled": true,
"provider": "github",
"installation_ids": [
"string"
]
},
"last_modified": 42.0
}