Skip to content

Latest commit

 

History

History
105 lines (66 loc) · 2.3 KB

people.md

File metadata and controls

105 lines (66 loc) · 2.3 KB

People

Get People or Person

GET /people.json | /people/{person_id}.json

tw.people.get(query_string, person_id)

Create a Person

POST /people.json

tw.people.create(body)

Update a Person

PUT /people/{person_id}.json

tw.people.update(person_id, body)

Delete a Person

DELETE /people/{person_id}.json

tw.people.update(person_id)

Get Person accociated with api key

GET /me.json

tw.people.me()

Get Stats

GET /stats.json

tw.people.stats(query_string)

Get Api Keys

GET /people/APIKeys.json

tw.people.apiKeys()

Unassign people from all tasks

PUT /people/{person_id}.json

tw.people.unassignAll(person_id, body)

Get the status of all people

GET /people/status.json

tw.people.status()

Get Logged time from a person

GET /people/{person_id}/loggedtime.json

tw.people.loggedTime(person_id, query_string)

Get Tags from a Person

GET /users/{person_id}/tags.json

tw.people.getTags(person_id, query_string)

Update a Tag on a Person

PUT /users/{person_id}/tags.json

tw.people.updateTag(person_id, body)

Get all clock ins

GET /people/{person_id}/clockins.json

tw.people.clockIns(person_id, query_string)