挂载权限校验
收藏
我的收藏接口说明
该接口用于校验小程序的挂载权限。
基本信息
名称 | 描述 |
---|---|
HTTP URL | https://open.douyin.com/api/apps/v1/devtool/get_mount_legal/ |
HTTP Method | GET |
Scope | ma.mount.legal |
权限要求 |
|
请求参数
请求头
access-token必填String
示例:clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ
content-type必填String
示例:application/json
固定值"application/json"
Query
micapp_id必填String
示例:tt5daf2b12c2857910
输入小程序的micapp_id
请求示例
curl --location --request GET 'https://open.douyin.com/api/apps/v1/devtool/get_mount_legal/?micapp_id=tt5daf2b12c2857910' \ --header 'access-token: clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ' \
响应参数
Body展开全部子属性
data必填Struct
展开子属性
err_msg必填String
示例:"access_token无效"
错误描述
err_no必填Int32
示例:28001003
错误码
log_id必填String
示例:"202405291440576E078D8757B9"
日志id
响应示例
正常响应示例异常响应示例
{ "err_no": 0, "err_msg": "", "log_id": "20230213140437EEEDFAB3025AEA105C06", "data": { "extra": { "sub_description": "", "logid": "20230213140437EEEDFAB3025AEA105C06", "now": 1597213176393, "error_code": 0, "description": "", "sub_error_code": 0 }, "data": { "error_code": 0, "description": "", "is_legal": false } } }
切换单列布局
点击纠错