API Access to timeback.
go build api.go
All responses are Content-Type: Application/JSON
. XML encoding and other variations are planned.
URI | Description |
---|---|
/auth/ |
Manage OAuth stuff |
/account/ |
Get and manage details for the authenticated account |
/tasks/ |
The tasks woo |
timeback uses OAuth for authentication.
GET /account/
: retrieve account details for the authenticated user
PUT /account/
: update account details for the authenticated user
GET /tasks/
: return the first page of tasks for the authenticated user
POST /tasks/
: save a new task
GET /tasks/task_id
: full details about a specified task
PUT /tasks/task_id
: update a task
DELETE /tasks/task_id
: remove a task