ContinuityApp

Update a Suite

Updates an existing suite from a project.

Auth&ACL

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

Definition

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

Arguments

Arguments    
name Required Human-friendly name of the test suite.
command Required We will execute this command to let your tests start. It can be everything you want, from a bash script to a rake action.
description Optional An arbitrary string which you can attach to the suite.

Example request

$ curl https://v1.continuityapp.ws/projects/123456789123456789/suites?oauth_token=<access_token> \
    -d "name=RSpec Ruby 1.9.2-p290" \
    -d "command=rake spec"
    -d "description=Run RSpec with the supercool Ruby 1.9.2-p290" \
    -X PUT

Returns

The updated suite is returned. See Suite Fetch API for fields explanation.

Example response

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

Errors

There are no specific errors for this API.

comments powered by Disqus