Applications

Deploy Application Revision

Changed on

Deploy an application revision to an environment.

Writes a reference from the environment revision to the application revision under key (default: {application_slug}.revision). Clients that subsequently call /applications/revisions/retrieve with the same environment_ref and key resolve to this revision. See the Applications guide.

post/applications/revisions/deploy

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/applications/revisions/deploy
  • Auth
    API key in header Authorization

Request body

keystring nullable

Deployment key inside the environment revision. Defaults to {application_slug}.revision.

messagestring nullable

Optional commit message attached to the environment revision.

Response

Successful Response

countinteger

1 when a revision was found, 0 otherwise.

Changes

    • info

      added to the response property anyOf list for the response status

    • info

      removed from the response property anyOf list for the response status

    • info

      added the optional property to the response with the status