应用权限:作品——>作品信息
接口说明:获取平台(数据集成)对应的企业下的作品列表
类型: GET
Author: zhangpeng
Content-Type: application/x-www-form-urlencoded;charset=utf-8
接口描述 作品列表
Request-headers:
Header | 类型 | 是否必填 | 字段描述 |
---|---|---|---|
X-Token | string | true | token |
Query-parameters:
参数 | 类型 | 是否必填 | 字段描述 |
---|---|---|---|
keyword | string | false | 作品名称 |
pageNo | int32 | false | 页码 |
pageSize | int32 | false | 每页数量 |
接口出参:
Field | 类型 | 字段描述 |
---|---|---|
code | string | 状态码 |
errorCode | string | 错误状态码 |
msg | string | 状态描述 |
data | object | 数据 |
└─list | array | 数组 |
└─id | string | 作品id |
└─name | string | 作品名字 |
└─imgurl | string | 作品图片地址 |
└─appurl | string | 作品地址(当作品存在 助力、组队、拼团的玩法时需要配置自定义域名,否则不展示appurl) |
└─formcount | int32 | 表单数量 |
└─audienceCount | int64 | 客户数量 |
└─state | string | 作品状态 |
└─appStatus | string | 视频渲染状态 |
└─desc | string | 作品描述 |
└─appTitle | string | 作品标题 |
└─appType | string | 作品类型 |
└─appVersion | int8 | 作品版本 |
└─updateTime | string | 更新时间 |
└─createTime | string | 创建时间 |
└─orgDomain | string | 企业自定义域名 |
└─totalCount | int64 | 总数 |
请求示例:
Curl-example: curl -X GET -k -H 'Content-Type: application/x-www-form-urlencoded;charset=utf-8' -H 'X-Token:r9i6T6VXdAV0vjiMBxODFRddRVY' -i https://integrate.rabbitpre.com/api/open/api/platform/app/list?keyword=&pageNo=1&pageSize=10 |
返回示列:
{ "code":"200", "errorCode":"SUCCESS", "msg":"ok", "data":{ "list":[ { "id":"f798a109-25bc-44ab-908f-94f97e4d7630", "name":"金色高端企业/校园招聘", "imgurl":"http://ali3.rabbitpre.com/da5c19b1-123e-41a0-a825-69bf05b90eb2", "appurl":"https://testc6.rabbitpre.com/m2/aUe1Zi9HEV", "formcount":0, "state":"1", "desc":"文字可编辑,图片可替换,咨询ckh1026", "appTitle":"微信微杂志", "appType":"1", "appVersion":2, "updateTime":1550632940000, "createTime":1550632939000, "orgDomain":"http://h6test.szzbmy.com/m2/aUe1Zi9aux" } ], "totalCount":1 } } |