Create
POST {{baseUrl}}/applications/:application_id/deployments.json
This API endpoint creates a deployment record for a given application. Deployment records are created with the following attributes:
Required:
- Application ID
- Revision, such as a git SHA
Optional:
- Changelog
- Description
- User posting the deployment
Note that the time of your deployment will be recorded as the current time in UTC.
Request Body
{"deployment"=>{"changelog"=>"<string>", "description"=>"<string>", "revision"=>"<string>", "user"=>"<string>"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"deployment":{"changelog":"in nisi Ut","description":"ad in","id":55639350,"links":{"application":-41433523},"revision":"dolore adipisicing Duis in u","timestamp":"1954-06-12T12:12:24.873Z","user":"aliquip culpa eu occaecat cillum"}}