获取授权小程序列表
获取当前所有授权给服务商的小程序列表。
请求地址
GET https://open.microapp.bytedance.com/openapi/v1/tp/auth_app_list
Query 参数
参数名 | 参数类型 | 是否必须 | 备注 |
---|---|---|---|
component_appid | string | 是 | 第三方平台的 appid |
component_access_token | string | 是 | 第三方平台 access_token |
page | int | 是 | 页码,从 1 开始 |
size | int | 是 | 页长,从 1 开始,最多为 50 |
返回值
参数名 | 参数类型 | 备注 |
---|---|---|
errno | int | 错误码 |
message | string | 错误信息 |
data | object |
data 说明:
参数名 | 参数类型 | 备注 |
---|---|---|
authAppList | Array<object> | |
total | int | 总数 |
authAppList 说明:
参数名 | 参数类型 | 备注 |
---|---|---|
authAppId | string | 授权小程序 appid |
authTime | int | 授权时间 |
返回值示例
{
"errno": 0,
"message": "success",
"data": {
"authAppList": [
{
"authAppId": "tt123456789123456789",
"authTime": 1504790916
},
{
"authAppId": "tt123456789123456789",
"authTime": 1504790916
},
......
],
"total": 16,
}
}
点击纠错
评价此篇文档