Create a Deployment Draft
Changed onCreate a new application deployment draft, if none exists.
Request
- Base URLhttps://services.cloud.mongodb.com/api/admin/v3.0
- URLhttps://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/drafts
- AuthHTTP bearer
Response
Successfully created 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 fromstringto no type for status - info
added
subschema #1to the/////response propertyallOflist for the response status - info
removed the
enum value from the/////response property for the response status - info
removed the
developmentenum value from the/////response property for the response status - info
removed the
productionenum value from the/////response property for the response status - info
removed the
qaenum value from the/////response property for the response status - info
removed the
testingenum value from the/////response property for the response status
- breaking
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking