ContinuityApp

Create a Collaborator

Projects can have collaborators. Collaborators will have full access to the project, and will be able to trigger new builds creating new Build Requests.

Auth&ACL

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

Definition

POST https://v1.continuityapp.ws/projects/<project_id>/collaborators

Arguments

Arguments    
email Required The email address of user you want to add as collaborator.

Example request

$ curl https://v1.continuityapp.ws/projects/123456789123456789/collaborators?oauth_token=<access_token> \
    -d "email=collaborator@continuityapp.com" \
    -X POST

Returns

The Collaborator address along with a confirmation message will be returned. If the invitee is already a ContinuityApp user, the added status will be returned and the user will gain immediate access to the project; otherwise the invited status will be returned, we will send to the user an invitation to join ContinuityApp, and he will be part of the project as soon as he will sign up.

Example response

{
  "response": {
    "email": "collaborator@continuityapp.com",
    "status": "invited"
  }
}

Errors

This API has an additional error code available:

Errors    
403 already_collaborator The user you are adding as collaborator, is aready part of the project collaborators list.
comments powered by Disqus