GET/users/{userId}/tasks
Gets a list of my tasks that belong to a specified user's category.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
task
task.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | User ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Parameter | Type | Description |
|---|---|---|
| categoryId | string | Task category ID required |
| count | integer | Number of tasks to get at once default : 50 minimum : 0 maximum : 100 |
| cursor | string | Cursor value |
| status | string | Task status
default : TODO Allowed values : TODO, ALL |
| searchFilterType | string | Search filter type
default : ALL Allowed values : ALL, ASSIGNEE, ASSIGNOR |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| tasks | array (Task) | |
| responseMetaData | object (responseMetaData) |
| Property | Type | Description |
|---|---|---|
| assignees | array (Assignee) | Assignee information |
| assignorId | string | Assignor ID
|
| assignorName | string | Assignor name |
| completionCondition | string | Completion options
Allowed values : ANY_ONE, MUST_ALL |
| content | string | Content |
| createdTime | string | Creation time (YYYY-MM-DDThh:mm:ssTZD) readOnly : true |
| dueDate | string | Due date (YYYY-MM-DD) nullable : true |
| modifiedTime | string | Update time (YYYY-MM-DDThh:mm:ssTZD) readOnly : true |
| resourceLocation | integer | The instance where the original task is located readOnly : true |
| status | string | Task status
Allowed values : DONE, TODO |
| taskId | string | Task ID |
| title | string | Title |
| Property | Type | Description |
|---|---|---|
| assigneeId | string | Assignee ID
required |
| assigneeName | string | Assignee name readOnly : true |
| status | string | Task status
required Allowed values : DONE, TODO |
| Property | Type | Description |
|---|---|---|
| nextCursor | string |
example
1{2 "tasks": [3 {4 "assignees": [5 {6 "assigneeId": "userf7da-f82c-4284-13e7-030f3b4c754x",7 "assigneeName": "John Doe",8 "status": "TODO"9 },10 {11 "assigneeId": "userf7da-f82c-4284-13e7-030f3b4c756x",12 "assigneeName": "Jane Doe",13 "status": "TODO"14 }15 ],16 "assignorId": "userf7da-f82c-4284-13e7-030f3b4c756x",17 "assignorName": "Jane Doe",18 "completionCondition": "MUST_ALL",19 "content": "",20 "createdTime": "2024-04-04T04:52:06.405Z",21 "dueDate": null,22 "modifiedTime": "2024-04-04T05:41:52.624Z",23 "resourceLocation": 14101,24 "status": "TODO",25 "taskId": "95e426f5-9c85-4d28-9c41-f22950398c9c",26 "title": "Task content"27 }28 ],29 "responseMetaData": {30 "nextCursor": "H4sIAAAAAAAA_6tWSk4sSU3PL6r0TFGyUkopTda1MDAwM7UwN1LSUUouLS7Jz_UvSkktUrKqVsqHMJRyc3NzKpRqawHgjprNPQAAAA"31 }32}