deploy

Get Current Deployment Draft

Changed on

Return the current application deployment draft, if applicable.

get/groups/{groupId}/apps/{appId}/drafts

Request

  • Base URL
    https://services.cloud.mongodb.com/api/admin/v3.0
  • URL
    https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/drafts
  • Auth
    HTTP bearer

Response

Successfully listed.

_idstring

The unique ID of the draft.

user_idstring

The unique _id value of the MongoDB Cloud user that created the draft.

Example response

{
  "app": {
    "name": "MyApp",
    "environment": "production",
    "_id": "633209ffd3bd3478005d1bac",
    "client_app_id": "myapp-abcde",
    "domain_id": "63320a2b5f9de9a6e0a213e8",
    "group_id": "5b2ec991973129243223a114",
    "last_used": 1664224746,
    "last_modified": 1656440824
  }
}

Changes

    • breaking

      the ///// response's property type changed from string to no type for status

    • info

      added subschema #1 to the ///// response property allOf list for the response status

    • info

      removed the enum value from the ///// response property for the response status

    • info

      removed the development enum value from the ///// response property for the response status

    • info

      removed the production enum value from the ///// response property for the response status

    • info

      removed the qa enum value from the ///// response property for the response status

    • info

      removed the testing enum value from the ///// response property for the response status

    • warning

      added the new device-sync enum value to the // response property for the response status