action box_get_files_id_tasks { label: "List tasks on file" description: "Retrieves a list of all the tasks for a file. This\nendpoint does not support pagination." provider: box method: GET path: "/files/{file_id}/tasks" encoding: json input: { type: "object" properties: { file_id: { type: "string" } } required: ["file_id"] additionalProperties: false } output: { type: "object" description: "A list of tasks" properties: { entries: { type: "array" items: { type: "object" description: "A task allows for file-centric workflows within Box. Users can\ncreate tasks on files and assign them to other users for them to complete the\ntasks." properties: { action: { type: "string" description: "The type of task the task assignee will be prompted to\nperform." enum: ["review", "complete"] } completion_rule: { type: "string" description: "Defines which assignees need to complete this task before the task\nis considered completed.\n\n* `all_assignees` requires all assignees to review or\napprove the the task in order for it to be considered completed.\n* `any_assignee` accepts any one assignee to review or\napprove the the task in order for it to be considered completed." enum: ["all_assignees", "any_assignee"] } created_at: { type: "string" format: "date-time" description: "When the task object was created" } created_by: { type: "object" } due_at: { type: "string" format: "date-time" description: "When the task is due" } id: { type: "string" description: "The unique identifier for this task" } is_completed: { type: "boolean" description: "Whether the task has been completed" } item: { type: "object" } message: { type: "string" description: "A message that will be included with the task" } task_assignment_collection: { type: "object" } type: { type: "string" description: "`task`" enum: ["task"] } } } } total_count: { type: "integer" format: "int64" description: "One greater than the offset of the last entry in the entire collection.\nThe total number of entries in the collection may be less than\n`total_count`." } } } }