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

The Project Target API provides access to the Target Managment functionality of TeamHaven.

GET /api/projects/:p/targets/:t[?schema=true]

Get a Target belonging to the specified Project. If schema=true, then the Project Target's Attribute Schema is included in the response.

GET /api/projects/:p/targets/:t/defaultuser

Gets the User assigned to the specified target.

DELETE /api/projects/:p/targets/:t/defaultuser

Deletes the Target's user assignment and returns it to Unassigned status.

POST /api/projects/:p/targets/:t/defaultuser

Assigns the Target to the specified User. The request body must contain the UserID of the user to assign.

Clone this wiki locally