获取小程序基本信息V2
收藏
我的收藏接口说明
该接口用于第三方小程序应用为授权小程序获取小程序基本信息。
基本信息
名称 | 描述 |
---|---|
HTTP URL | https://open.douyin.com/api/apps/v2/basic_info/get_info/ |
HTTP Method | GET |
Scope | ma.basic.info |
权限要求 | 授权小程序授予基本信息设置权限 |
请求参数
请求头
access-token必填String
示例:isvact.0801121846735352506a356a6
请求示例
curl --location 'https://open.douyin.com/api/apps/v2/basic_info/get_info/' \ --header 'access-token: isvact.ccaxxxxxxxxx745f51myJYzhFp8ms52vlWkqei7GsVGN'
响应参数
Body展开全部子属性
err_msg必填String
错误描述
err_no必填Int32
示例:0
标识请求的唯一id
log_id必填String
示例:202401162021508C7E711C39144F1127C8
错误码
dataStruct
展开子属性
响应示例
正常响应示例异常响应示例
{ "err_msg": "", "err_no": 0, "log_id": "202401162021508C7E711C39144F1127C8", "data": { "new_name_audit_info": { "advice": "", "new_name": "xxxx", "new_name_audit_state": 4, "reason": "", "remaining_times": 3 }, "app_id": "xxxx", "app_intro": "xxxxx", "new_icon_audit_info": { "advice": "", "new_icon": "xxxx", "new_icon_audit_state": 2, "reason": "", "remaining_times": 3 }, "new_intro_audit_info": { "advice": "", "new_intro": "xxxxx", "new_intro_audit_state": 2, "reason": "", "remaining_times": 3 }, "subject_audit_info": { "subject_name": "xxx", "subject_type": 1 }, "app_categories_audit_info": [ { "app_category_audit_state": 2, "app_category_name": "xx-xxxx-xx", "reason": "", "app_category": "xxx,xxx,xxx" } ], "app_icon": "xxxxx", "app_name": "xxxx", "app_state": 0 } }
切换单列布局
错误码
HTTP 状态码 | 错误码 | 错误码描述 | 排查建议 |
---|---|---|---|
200 | 20000 | 系统错误 |
点击纠错