ContinuityApp

Fetch a Deploy

Fetches an deploy from an existing project.

Auth&ACL

Both users and collaborators can access this API, via OAuth deploys scope (or HTTP Basic Authentication for development purposes).

Definition

GET https://v1.continuityapp.ws/projects/<project_id>/deploys/<deploy_id>

Example request

$ curl https://v1.continuityapp.ws/projects/123456789123456789/deploys/123456789123456789?oauth_token=<access_token>

Returns

A deploy is returned, with the following fields:

Fields  
id Unique id
status The deploy status.
created_by User email who created the deploy request.
deploy_strategy_id The ID of the deploy strategy used.
commit_id The ID of the commit to be pushed.
deploy_started_at The deploy start timestamp.
deploy_finished_at The deploy finish timestamp.

Example response

{
  "response": {
    "id": 123456789123456780,
    "id_str": "123456789123456780",
    "state": "enqueued",
    "created_by": "user@continuityapp.com",
    "deploy_strategy_id": 123456789123456787,
    "commit_id": 123456789123456788,
    "deploy_started_at": null,
    "deploy_finished_at": null
  }
}

Errors

There are no specific errors for this API.

comments powered by Disqus