-
Notifications
You must be signed in to change notification settings - Fork 14
Thing API Documentation
jholt456 edited this page Jun 15, 2012
·
27 revisions
Gets all things in the team thing system
End point
GET /api/thing
Example
Request Parameters
None
Response
Returns an array of things
[{"id":3,
"description":"Get the team ready",
"isStarred":false,
"status":"InProgress",
"dateCreated":"2012-03-23T17:40:06.527",
"owner":{"id":10,
"imagePath":"/images/GenericUserImage.gif",
"emailAddress":"[email protected]"},
"team":{"name":"A-Team",
"id":2,
"ownerId":10,
"administrators":[],
"isPublic":false,
"imagePath":"/images/GenericUserImage.gif"},
"assignedTo":[{"id":18,
"imagePath":"http://teamthing.apphb.com:16167/images/GenericUserImage.gif",
"emailAddress":"[email protected]"}]},
{"id":4,
"description":"vcdfasdfasdf",
"isStarred":false,
"status":"InProgress",
"dateCreated":"2012-03-27T13:03:44.317",
"owner":{"id":10,
"imagePath":"/images/GenericUserImage.gif",
"emailAddress":"[email protected]"},
"team":{"name":"A Sweet Team",
"id":20,
"ownerId":10,
"administrators":[10],
"isPublic":false,
"imagePath":"/images/GenericUserImage.gif"},
"assignedTo":[{"id":18,
"imagePath":"http://teamthing.apphb.com:16167/images/GenericUserImage.gif",
"emailAddress":"[email protected]"}]}]
Deletes the thing with the specified thingId from the team thing application.
End point
DELETE api/thing/{thingId}
Request Parameters
None
Response
204 Indicates Success