获取任务结果
GET
/open-apis/wiki/v2/tasks/{task_id}
/open-apis/wiki/v2/tasks/{task_id}
自建应用商店应用
仅发起任务的用户(或应用)可以查询任务结果。否则会返回权限报错。
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.feishu.cn/open-apis/wiki/v2/tasks/7037044037068177428-075c9481e6a0007c1df689dfbe5b55a08b6b06f7?task_type=move' \
--header 'Authorization;'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {
"task": {
"task_id": "7037044037068177428-075c9481e6a0007c1df689dfbe5b55a08b6b06f7",
"move_result": [
{
"node": {
"space_id": "6946843325487906839",
"node_token": "wikcnKQ1k3pcuo5uSK4t8VN6kVf",
"obj_token": "doccnzAaODNqykc8g9hOWgSpprd",
"obj_type": "doc/sheet/mindnote",
"parent_node_token": "wikcnKQ1k3pcuo5uSK4t8VN6kVf",
"node_type": "origin/shortcut",
"origin_node_token": "wikcnKQ1k3pcuo5uSK4t8VN6kVf",
"origin_space_id": "6946843325487906839",
"has_child": false,
"title": "标题",
"obj_create_time": "1642402428",
"obj_edit_time": "1642402428",
"node_create_time": "1642402428"
},
"status": 0,
"status_msg": "success"
}
]
}
}
}
请求参数
Path 参数
task_id
string
必需
示例值:
7037044037068177428-075c9481e6a0007c1df689dfbe5b55a08b6b06f7
Query 参数
task_type
string
必需
示例值:
move
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
返回响应
修改于 2022-02-11 13:00:51