Skip to content
Richard Thombs edited this page Feb 10, 2014 · 16 revisions

The Collector API aims to provide a full set of services required by an online service providing capibilities similar to TeamHaven Mobile.

It is still incomplete and experimental.

  • Who am I?
  • List calls
  • Get a specific call
  • Edit a call
  • Get the questionnaire for a call
  • Get the answers for a call
  • Update the answers for a call
  • List projects
  • Get information about a specific project

Who am I?

GET /api/user

Gets information about the logged in user.

Query String Parameters

schema
true to include the User Attribute Schema in the response.

Projects

GET /api/user/projects

List all projects the user has access to

GET /api/user/projects/:id

Gets information about the specified project.

URL parameters

id
The Project ID to retrieve.

Response

{
  ProjectID: 1,            // Project ID
  Name: "A test project",  // Project name
  CheckinMode: 0           // Checkin Mode: 0 = Off, 1 = Required
}

Clone this wiki locally