获取第三方平台下的模板列表
获取第三方平台下的模板列表。
请求地址
GET https://open.microapp.bytedance.com/openapi/v1/tp/template/get_tpl_list
Query 参数
参数名 | 参数类型 | 是否必须 | 备注 |
---|---|---|---|
component_appid | string | 是 | 第三方平台的 appid |
component_access_token | string | 是 | 第三方平台 access_token |
返回值
参数名 | 参数类型 | 备注 |
---|---|---|
errno | int | 错误码 |
message | string | 错误信息 |
template_list | Array<object> |
template_list 说明:
参数名 | 参数类型 | 备注 |
---|---|---|
template_id | int | 模版 id |
user_version | string | 用户自定义版本号 |
user_desc | string | 用户自定义描述 |
create_time | int | 模版创建时间戳 |
返回值示例
{
"errno": 0,
"message": "success",
"template_list": [
{
"template_id": 1,
"user_version": "2.2.2",
"user_desc": "xxx",
"create_time": 1488965932
},
{
"template_id": 2,
"user_version": "3.3.3",
"user_desc": "xxx",
"create_time": 1504790916
},
......
]
}
点击纠错
评价此篇文档