ContinuityApp

Fetch a Suite

Fetches an existing suite from an existing project.

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>

Example request

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

Returns

A suite is returned, with the following fields:

Fields  
id Unique id - You will use it while performing Update, Fetch and Delete requests
name Human-friendly name of the suite.
command Command to be run to start the tests.
description An arbitrary string which you can attach to the suite.

Example response

{
  "response": {
    "id": 123456789123456789,
    "id_str": "123456789123456789",
    "name": "RSpec Ruby 1.9.2-p290",
    "description": "Run RSpec with Ruby 1.9.2-p290",
    "command": "rake spec"
  }
}

Errors

There are no specific errors for this API.

comments powered by Disqus