Skip to content

Commit 0ea6aba

Browse files
author
Tambet Masik
committed
Add tracked_seconds to task
1 parent fe3c365 commit 0ea6aba

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

chapters/tasks.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,10 @@ Task has the following properties
1010
* estimated_seconds: estimated duration of task in seconds (integer, not required)
1111
* active: whether the task is done or not (boolean, by default true)
1212
* at: timestamp that is sent in the response for PUT, indicates the time task was last updated
13+
* tracked_seconds: total time tracked (in seconds) for the task
1314

1415
Workspace id (wid) and project id (pid) can't be changed on update.
1516

16-
###Additional fields###
17-
It's possible to get additional info for the task. For that you have to send the `fields` parameter in request with desired property names separated by comma.
18-
19-
* done_seconds: duration (in seconds) of all the time entries registered for this task
20-
* uname: full name of the person to whom the task is assigned to
21-
2217
##Actions for single project user##
2318
###Create a task###
2419

@@ -168,4 +163,4 @@ curl -v -u 1971800d4d82861d8f2c1651fea4d212:api_token \
168163
-X DELETE https://www.toggl.com/api/v8/tasks/1335076912,1335076911,1335076910
169164
```
170165

171-
Successful request will return `200 OK`. If the user has no access to delete, you'll get a status code `4xx`
166+
Successful request will return `200 OK`. If the user has no access to delete, you'll get a status code `4xx`

0 commit comments

Comments
 (0)