HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
400 | 210503 | invalid app_id | 请检查请求路径中的 app_id 是否合法 |
400 | 210504 | no such app in tenant | 请检查被查询应用与当前调用接口应用是否在同一企业内 |
400 | 210505 | target app not a custom app | 请检查被查询应用是否是自建应用 |
400 | 210506 | no such app | 请检查请求路径中的 app_id 是否存在 |
400 | 210508 | insufficient permission level | 请检查应用已申请权限与被查询 app_id,当被查询 app_id 非本应用且未申请获取应用版本信息权限时,返回该错误码 |
curl --location --request GET 'https://open.feishu.cn/open-apis/application/v6/applications/cli_9b445f5258795107?lang&user_id_type' \
--header 'Authorization;'
{
"code": 0,
"msg": "success",
"data": {
"app": {
"app_id": "cli_9b445f5258795107",
"creator_id": "ou_d317f090b7258ad0372aa53963cda70d",
"status": 1,
"scene_type": 0,
"payment_type": 0,
"redirect_urls": [
"https://www.example.com"
],
"online_version_id": "oav_d317f090b7258ad0372aa53963cda70d",
"unaudit_version_id": "oav_d317f090b7258ad0372aa53963cda70d",
"app_name": "应用名称",
"avatar_url": "https://sf1-ttcdn-tos.pstatp.com/img/avatar/d279000ca4d3f7f6aaff~72x72.jpg",
"description": "应用描述",
"scopes": [
{
"scope": "contact:user.base",
"description": "获取应用信息",
"level": 1
}
],
"back_home_url": "https://www.example.com",
"i18n": [
{
"i18n_key": "zh_cn",
"name": "应用名称",
"description": "应用描述",
"help_use": "https://www.example.com"
}
],
"primary_language": "zh_cn",
"common_categories": [
"分析工具"
],
"owner": {
"type": 0,
"owner_id": "ou_d317f090b7258ad0372aa53963cda70d",
"name": "test tenant",
"help_desk": "https://applink.feishu.cn/client/helpdesk/open?id=6940534140529803284",
"email": "test123@163.com",
"phone": "1234534234234"
}
}
}
}