GET/users/{userId}/tasks
특정 개인 카테고리에 소속된 내 할 일 목록을 조회한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
task
task.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | 사용자 ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Parameter | Type | Description |
|---|---|---|
| categoryId | string | 조회할 할 일 개인 카테고리 ID required |
| count | integer | 한 번에 조회할 할 일 개수 default : 50 minimum : 0 maximum : 100 |
| cursor | string | 목록 커서값 |
| status | string | 조회할 할 일의 상태
default : TODO Allowed values : TODO, ALL |
| searchFilterType | string | 검색 필터링 타입
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) | 담당자 정보 |
| assignorId | string | 요청자 ID
|
| assignorName | string | 요청자 이름 |
| completionCondition | string | 할 일 완료 옵션
Allowed values : ANY_ONE, MUST_ALL |
| content | string | 내용 |
| createdTime | string | 생성 시각(YYYY-MM-DDThh:mm:ssTZD) readOnly : true |
| dueDate | string | 기한(YYYY-MM-DD) nullable : true |
| modifiedTime | string | 수정 시각(YYYY-MM-DDThh:mm:ssTZD) readOnly : true |
| resourceLocation | integer | 원본 할 일이 위치한 인스턴스 readOnly : true |
| status | string | 할 일 완료/미완료 상태
Allowed values : DONE, TODO |
| taskId | string | 할 일 ID |
| title | string | 제목 |
| Property | Type | Description |
|---|---|---|
| assigneeId | string | 담당자 ID
required |
| assigneeName | string | 담당자 이름 readOnly : true |
| status | string | 할 일 완료/미완료 상태
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": "홍길동",8 "status": "TODO"9 },10 {11 "assigneeId": "userf7da-f82c-4284-13e7-030f3b4c756x",12 "assigneeName": "김철수",13 "status": "TODO"14 }15 ],16 "assignorId": "userf7da-f82c-4284-13e7-030f3b4c756x",17 "assignorName": "김철수",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": "할 일 내용"27 }28 ],29 "responseMetaData": {30 "nextCursor": "H4sIAAAAAAAA_6tWSk4sSU3PL6r0TFGyUkopTda1MDAwM7UwN1LSUUouLS7Jz_UvSkktUrKqVsqHMJRyc3NzKpRqawHgjprNPQAAAA"31 }32}