ContinuityApp

List Suite Rules

List all the Rules for a Suite.

Auth&ACL

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

Definition

GET https://v1.continuityapp.ws/projects/<project_id>/suites/<suite_id>/rules

Example request

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

Returns

A list of rules is returned.

Example response

{"response":
  [
    {
      "id": 136138234104426288,
      "id_str": "136138234104426288",
      "subject": "commit.message",
      "operator": "contains",
      "value":"#testme"
    },
    {
      "id": 136138234105018992,
      "id_str": "136138234105018992",
      "subject": "commit.branches",
      "operator": "contains",
      "value": "develop"
    }
  ]
}

Errors

There are no specific errors for this API.

comments powered by Disqus