53.5.8. 端点前缀 任务
有关 Box 任务的详情,请参考 https://developer.box.com/reference#task-object-1。以下端点可以通过前缀 任务
调用,如下所示:
box:tasks/endpoint?[options]
端点 | 简写别名 | 选项 | 结果 Body 类型 |
---|---|---|---|
addFileTask | add | fileId, action, dueAt, [message] | com.box.sdk.BoxUser |
deleteTask | delete | taskId | |
getFileTasks | tasks | fileId | java.util.List |
getTaskInfo | info | taskId | com.box.sdk.BoxTask.Info |
updateTaskInfo | updateInfo | TaskID, info | com.box.sdk.BoxTask |
addAssignmentToTask | addAssignment | TaskID, assignTo | com.box.sdk.BoxTask |
deleteTaskAssignment | deleteAssignment | taskAssignmentId | |
getTaskAssignments | 分配 | taskId | java.util.List |
getTaskAssignmentInfo | assignmentInfo | taskAssignmentId | com.box.sdk.BoxTaskAssignment.Info |
任务的URI 选项
名称 | 类型 |
---|---|
fileId | 字符串 |
action | com.box.sdk.BoxTask.Action |
dueAt | Date |
message | 字符串 |
taskId | 字符串 |
info | com.box.sdk.BoxTask.Info |
assignTo | com.box.sdk.BoxUser |
taskAssignmentId | 字符串 |