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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;deployment&quot;:{&quot;changelog&quot;:&quot;in nisi Ut&quot;,&quot;description&quot;:&quot;ad in&quot;,&quot;id&quot;:55639350,&quot;links&quot;:{&quot;application&quot;:-41433523},&quot;revision&quot;:&quot;dolore adipisicing Duis in u&quot;,&quot;timestamp&quot;:&quot;1954-06-12T12:12:24.873Z&quot;,&quot;user&quot;:&quot;aliquip culpa eu occaecat cillum&quot;}}