| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 400 | 210500 | page_token does not exist or has expired | 请检查 page_token 是否合法,page_token 过期时间为 2h,若超过 2h 请重新获取 |
| 400 | 210501 | invalid page_token | page_token 在应用间不互通,请检查该 page_token 是否由调用接口的应用获取到 |
| 400 | 210502 | page_size out of range, should be between 1 and 50 | 请检查 page_size 范围是否在 [1, 50] 范围内 |
curl --location --request GET 'https://open.feishu.cn/open-apis/application/v6/app_recommend_rules?page_size=&page_token=new-e11ee058b4a8ed2881da11ac7e37c4fc&user_id_type=' \
--header 'Authorization: Bearer <token>'{
"code": 0,
"msg": "success",
"data": {
"rules": [
{
"id": "7137896480337641492",
"name": "管理员小白的推荐规则",
"status": "open",
"visibility_info": {
"is_all": true,
"department_ids": [
"od-fef5204d44fa03fad66278cb8e8036e4"
],
"user_ids": [
"ou_35101d538d5b3ad10a5f3480f4c27972"
],
"group_ids": [
"7137608198773686291"
]
},
"recommend_item_infos": [
{
"item_id": "7137896480337625108",
"item_type": "application",
"name": "审批",
"description": "审批应用的描述",
"link_url": "http://www.example.com",
"client_id": "cli_a274440757b8901c",
"icon_url": "https://internal-api-lark-file.feishu-boe.cn/static-resource/v1/v2_6150f3c3-ceee-453e-a1ae-7c11d7f13edj~?image_size=&cut_type=&quality=&format=&sticker_format=.webp",
"default_locale": "zh_cn",
"i18n_name": {
"zh_cn": "审批",
"zh_hk": "審批",
"zh_tw": "審批",
"en_us": "Approval",
"ja_jp": "承認"
}
}
],
"distributed_recommend_item_infos": [
{
"item_id": "7137896480337625108",
"item_type": "application",
"name": "审批",
"description": "审批应用的描述",
"link_url": "http://www.example.com",
"client_id": "cli_a274440757b8901c",
"icon_url": "https://internal-api-lark-file.feishu-boe.cn/static-resource/v1/v2_6150f3c3-ceee-453e-a1ae-7c11d7f13edj~?image_size=&cut_type=&quality=&format=&sticker_format=.webp",
"default_locale": "zh_cn",
"i18n_name": {
"zh_cn": "审批",
"zh_hk": "審批",
"zh_tw": "審批",
"en_us": "Approval",
"ja_jp": "承認"
}
}
]
}
],
"page_token": "new-e11ee058b4a8ed2881da11ac7e37c4fc",
"has_more": true
}
}