ContinuityApp

List Commits

List all commits for a project.

Auth&ACL

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

Definition

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

Example request

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

Returns

A list of commits will be returned.

Example response

{
  "response": [
    {
      "id": 123456789123456780,
      "id_str": "123456789123456780",
      "version": 1372385043,
      "ref": 'abcdefg',
      "build_state": "waiting_for_builds"
    },
    {
      "id": 123456789123456781,
      "id_str": "123456789123456781",
      "version": 1372385043,
      "ref": 'hilmnop',
      "build_state": "waiting_for_builds"
    }
  ]
}

Errors

There are no specific errors for this API.

comments powered by Disqus