文档搜素
POST
https://open.feishu.cn/open-apis/suite/docs-api/search/object
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.feishu.cn/open-apis/suite/docs-api/search/object' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"search_key": "search key",
"count": 10,
"offset": 0,
"owner_ids": ["xxx", "xxx"],
"chat_ids": ["xxx", "xxx"],
"docs_types": ["doc", "sheet"]
}'
响应示例响应示例
{
"code": 0,
"msg": "Success",
"data": {
"docs_entities": [
{
"docs_token": "xxx",
"docs_type": "doc",
"title": "xxx",
"owner_id": "xxx"
},
{
"docs_token": "xxx",
"docs_type": "sheet",
"title": "xxx",
"owner_id": "xxx"
}
],
"has_more": false,
"total": 10
}
}
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
Content-Type
string
必需
默认值:
application/json; charset=utf-8
Body 参数application/json
返回响应
修改于 2023-01-13 06:14:15