Get Tasks From File
Retrieves a list of all the tasks for a file. This endpoint does not support pagination.
Parameters
Parameter | Description |
---|---|
File ID | The unique identifier that represents a file. |
Example Output
{
"entries": [
{
"action": "review",
"completion_rule": "all_assignees",
"created_at": "2012-12-12T10:53:43-08:00",
"created_by": {
"id": "11446498",
"login": "ceo@example.com",
"name": "Aaron Levie",
"type": "user"
},
"due_at": "2012-12-12T10:53:43-08:00",
"id": "11446498",
"is_completed": true,
"item": {
"etag": "1",
"file_version": {
"id": "12345",
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc",
"type": "file_version"
},
"id": "12345",
"name": "Contract.pdf",
"sequence_id": "3",
"sha1": "85136C79CBF9FE36BB9D05D0639C70C265C18D37",
"type": "file"
},
"message": "Legal review",
"task_assignment_collection": {
"entries": [
{
"assigned_at": "2012-12-12T10:53:43-08:00",
"assigned_by": {
"id": "11446498",
"login": "ceo@example.com",
"name": "Aaron Levie",
"type": "user"
},
"assigned_to": {
"id": "11446498",
"login": "ceo@example.com",
"name": "Aaron Levie",
"type": "user"
},
"completed_at": "2012-12-12T10:53:43-08:00",
"id": "11446498",
"item": {
"etag": "1",
"file_version": {
"id": "12345",
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc",
"type": "file_version"
},
"id": "12345",
"name": "Contract.pdf",
"sequence_id": "3",
"sha1": "85136C79CBF9FE36BB9D05D0639C70C265C18D37",
"type": "file"
},
"message": "Please review",
"reminded_at": "2012-12-12T10:53:43-08:00",
"resolution_state": "incomplete",
"type": "task_assignment"
}
],
"total_count": 100
},
"type": "task"
}
],
"total_count": 5000
}
Workflow Library Example
Get Tasks from File with Box and Send Results Via Email
Preview this Workflow on desktop