ContinuityApp

Update a Project

Updates an existing project owned by the user doing the request.

Definition

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

Auth&ACL

Users can access this API (collaborators cannot), via OAuth projects scope (or HTTP Basic Authentication for development purposes).

Arguments

Arguments    
name Required Human-friendly name of the project.
repository_url Required URL of the repository where we need to connect to fetch the code.
description Optional An arbitrary string which you can attach to the project.

Example request

$ curl https://v1.continuityapp.ws/projects/123456789123456789?oauth_token=<access_token> \
    -d "description=A Cool Classy web-development dressed in a DSL" \
    -X PUT

Returns

The updated project is returned. See Project Fetch API for fields explanation.

Example response

{
  "response": {
    "id": 123456789123456789,
    "id_str": "123456789123456789",
    "name": "Sinatra",
    "description": "A Cool Classy web-development dressed in a DSL",
    "repository_url": "git@github.com:sinatra/sinatra.git",
    "build_state": "new",
    "owned": true,
    "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFmRIuChcnMFO7T1UuuTWxBtaOpLebx/duxK6RMhyAw+Bt/yxCejXZNazLF1K3AZtAICT+ydngYRlI355DsCzmkq8EclFsvUttTitI7DBiSQHH4yoAzABC8ZtEIRa5UrxsL7Qp1CxOkXur6wyWhd39rtXvEfFgu3xprChoQALa51/LSApn1Q4R8190R3ispDLUODUn6LQEfUvzVztBypGGP5PvV4qQogWRRyGhX5J6ZYL8Fj6HuYA/amEzAaKwtyoWIVDllqxVDXkeTfX3197KdfS2W/c2GYCsYNi+QkoHCC4NZ+CzOvVTuVYGTMII/OzB63VMn7TEhcS4N2k8TM/V https://continuityapp.com"
  }
}

Errors

There are no specific errors for this API.

comments powered by Disqus