GET/users/{userId}/task-categories/{categoryId}

ユーザーのタスクカテゴリーを取得する。

Authorization

oauth2

Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。

Scope

task
task.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/users/{userId}/task-categories/{categoryId}

Path Parameters

ParameterTypeDescription
userId string 

ユーザー ID


required
example : userf7da-f82c-4284-13e7-030f3b4c756x 
categoryId string 

ユーザーのタスクカテゴリー ID


required
example : 6b943e91-9f5f-49fa-8fec-8921bc474a96 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
categoryId string 

ユーザーのタスクカテゴリー ID (既定のカテゴリー: default)

 
categoryName string 

ユーザーのタスクカテゴリー名

 

Response Example

example

1{2  "categoryId": "6b943e91-9f5f-49fa-8fec-8921bc474a96",3  "categoryName": "カテゴリー 1234"4}