タスク割り当て
タスク割り当てでは、完了するためにどのタスクをどのユーザーに割り当てるかを定義します。属性と例
属性と例
| プロパティ | 型 | 必須 | 説明 |
|---|---|---|---|
id | string | いいえ | このタスク割り当ての一意の識別子。 |
type | enum<string> | いいえ | 値は常にtask_assignmentになります。 使用可能なオプション: task_assignment. |
item | ファイル (Mini) | いいえ | タスクが割り当てられているファイル。 |
assigned_to | ユーザー (Mini) | いいえ | タスクが割り当てられているユーザー。 |
message | string | いいえ | タスク割り当てに含められるメッセージ。これは、ウェブおよびモバイルUIで、タスクが割り当てられたユーザーに表示されます。 |
completed_at | string | いいえ | このタスク割り当てが完了した日。タスクがまだ完了していない場合はnullになります。 |
assigned_at | string | いいえ | このタスクがユーザーに割り当てられた日。 |
reminded_at | string | いいえ | タスクが割り当てられたユーザーに、このタスク割り当てがリマインドされた日。 |
resolution_state | enum<string> | いいえ | 割り当ての現在の状態。使用可能な状態は、タスクオブジェクトのaction値によって異なります。 使用可能なオプション: completed, incomplete, approved, rejected. |
assigned_by | ユーザー (Mini) | いいえ | このタスクを割り当てたユーザー。 |
例
{
"id": "11446498",
"type": "task_assignment",
"item": {
"id": "12345",
"etag": "1",
"type": "file",
"sequence_id": "3",
"name": "Contract.pdf",
"sha1": "85136C79CBF9FE36BB9D05D0639C70C265C18D37",
"file_version": {
"id": "12345",
"type": "file_version",
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc"
}
},
"assigned_to": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"message": "Please review",
"completed_at": "2012-12-12T10:53:43-08:00",
"assigned_at": "2012-12-12T10:53:43-08:00",
"reminded_at": "2012-12-12T10:53:43-08:00",
"resolution_state": "incomplete",
"assigned_by": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
}
}
タスク割り当て
タスク割り当てのリスト。属性と例
属性と例
| プロパティ | 型 | 必須 | 説明 |
|---|---|---|---|
total_count | integer | いいえ | このコレクション内の項目の合計数。 |
entries | array of タスク割り当て | いいえ | タスク割り当てのリスト。 |
例
{
"total_count": 100,
"entries": [
{
"id": "11446498",
"type": "task_assignment",
"item": {
"id": "12345",
"etag": "1",
"type": "file",
"sequence_id": "3",
"name": "Contract.pdf",
"sha1": "85136C79CBF9FE36BB9D05D0639C70C265C18D37",
"file_version": {
"id": "12345",
"type": "file_version",
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc"
}
},
"assigned_to": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"message": "Please review",
"completed_at": "2012-12-12T10:53:43-08:00",
"assigned_at": "2012-12-12T10:53:43-08:00",
"reminded_at": "2012-12-12T10:53:43-08:00",
"resolution_state": "incomplete",
"assigned_by": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
}
}
]
}
