ContinuityApp

List Deploy Strategies

List all deploy strategies for a 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>/deploy_strategies

Example request

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

Returns

A list of deploy strategies will be returned.

Example response

{
  "response": [
    {
      "id": 123456789123456780,
      "id_str": "123456789123456780",
      "name": "heroku staging",
      "strategy_type": "git"
    },
    {
      "id": 123456789123456781,
      "id_str": "123456789123456781",
      "name": "heroku prod",
      "strategy_type": "git"
    }
  ]
}

Errors

There are no specific errors for this API.

comments powered by Disqus