获取授权小程序列表
接口介绍
该接口用于获取当前授权给第三方小程序应用的小程序列表。
请求
基本信息
| 基本 |  | 
| HTTP URL | |
| HTTP Method | GET | 
查询参数
| 参数名 | 参数类型 | 是否必须 | 备注 | 
| component_appid | string | 是 | 第三方小程序应用 appid | 
| component_access_token | string | 是 | 第三方小程序应用接口调用凭据 | 
| 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, } }
错误码
| 错误码 | message | 
| 40001 | 参数错误 | 
| 40003 | 找不到相关第三方小程序应用 | 
| 40009 | 第三方小程序应用 component_access_token 已过期 | 
| 40010 | 第三方小程序应用 component_access_token 不正确 | 
