Get the Deployment Configuration

GET /groups/{groupId}/apps/{appId}/deploy/config

See information about how your App deploys changes.

Path parameters

Responses

  • 200 application/json

    Success

    Hide response attributes Show response attributes object
    • ui_drafts_disabled boolean Required

      If true, every change made in the Admin UI deploys automatically on save. If false, changes are grouped into a deployment draft that you deploy separately.

    • automatic_deployment object Required

      Configuration for automatic deployment methods

      Hide automatic_deployment attributes Show automatic_deployment attributes object
      • enabled boolean

        If true, the app automatically deploys using the method defined for provider.

      • provider string

        The type of automatic deployment.

        Value is github.

      • installation_ids array[string]

        The unique ID values of automatic deployment provider installations. For example, the id value of a GitHub app installation.

    • last_modified number

      The time this configuration was last modified represented by the number of seconds since the UNIX epoch.

GET /groups/{groupId}/apps/{appId}/deploy/config
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/deploy/config' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "ui_drafts_disabled": true,
  "automatic_deployment": {
    "enabled": true,
    "provider": "github",
    "installation_ids": [
      "string"
    ]
  },
  "last_modified": 42.0
}