HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
500 | 1270001 | 系统内部错误 | 联系系统开发人员协助定位 |
400 | 1270002 | 参数错误 | 根据错误信息和文档排查非法参数 |
500 | 1270003 | 调用失败 | 如果重试后仍然失败,请联系系统开发人员 |
400 | 1270005 | 该功能仅对旗舰版可用 | 请联系销售人员升级套餐以使用此高级功能 |
400 | 1273004 | 记录不存在 | 检查请求的记录是否真实存在 |
curl --location --request GET 'https://open.feishu.cn/open-apis/search/v2/schemas/' \
--header 'Authorization;'
{
"code": 0,
"data": {
"schema": {
"display": {
"card_key": "search_common_card",
"fields_mapping": [
{
"data_field": "${priority}",
"display_field": "tag1"
},
{
"data_field": "${description}",
"display_field": "summary"
}
]
},
"properties": [
{
"is_returnable": true,
"is_searchable": true,
"name": "description",
"search_options": {
"enable_camel_match": false,
"enable_exact_match": false,
"enable_number_suffix_match": false,
"enable_prefix_match": false,
"enable_semantic_match": true
},
"type": "text"
},
{
"is_returnable": true,
"name": "icon_url",
"type": "text"
},
{
"name": "rank",
"sort_options": {
"order": "asc"
},
"type": "int"
},
{
"is_returnable": true,
"name": "priority",
"type": "tag",
"type_definitions": {
"tag": [
{
"color": "red",
"name": "type",
"text": "type"
}
]
}
}
],
"schema_id": "example_schema"
}
},
"msg": "success"
}