简要描述:
触发器列表查询
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0 | 王力 | 2019-04-14 | 2019-04-24 |
接口说明:
| 请求方式 | 接口地址 | Content-Type |
|---|---|---|
| GET | /material/find | none |
请求参数说明:
| 名称 | 提交 | 必填 | 数据类型 | 参数说明 |
|---|---|---|---|---|
| appId | json | Y | String | 所属机器人ID |
| name | json | N | String | 名称 |
| status | json | N | String | 状态,可选参数:Normal、Delete、Freeze、Unpublished |
| type | json | N | String | 类型,可选参数:pic、audio、video |
| #### 请求参数示例: |
{
“appId”: “02c81872-0044-41ca-a5d5-2cc2f79e15ac”
}
返回参数说明:
| 参数名 | 必填 | 类型 | 说明 |
|---|---|---|---|
| errorCode | 是 | int | 错误码(0表示成功) |
| errorMsg | 是 | string | 描述信息 |
| count | 是 | int | 数据行数 |
| data | 是 | 数组 | 数据内容,内容参考数据设置表IntentModel |
返回示例:
正确时返回
{
"errorCode": 0,
"errorMsg": "请求成功",
"count": 4,
"data": [
{
"createTime": "2019-04-28 19:06:11",
"appId": "02c81872-0044-41ca-a5d5-2cc2f79e15ac",
"updateTime": "",
"_id": "5194d8e1-ae60-4000-a572-bf63ee640245",
"status": "Normal",
"updateBy": "",
"customerId": "12345",
"description": "12345",
"name": "图片素材01"
},
{
"createTime": "2019-04-28 19:09:28",
"appId": "02c81872-0044-41ca-a5d5-2cc2f79e15ac",
"updateTime": "",
"customerId": "12345",
"status": "Normal",
"updateBy": "",
"_id": "7cbdce0f-e124-4bb7-a2ae-4220d443a37d",
"description": "12345",
"filepath": "statics\\\\material//57257241555656536(1).jpg",
"name": "图片素材02"
},
{
"createTime": "2019-04-28 19:09:40",
"appId": "02c81872-0044-41ca-a5d5-2cc2f79e15ac",
"updateTime": "",
"customerId": "12345",
"status": "Normal",
"updateBy": "",
"_id": "c7c762ba-4eeb-4ce2-a6af-975d9014151f",
"description": "12345",
"filepath": "statics\\\\material//54377481555656536(1).jpg",
"name": "图片素材03"
},
{
"createTime": "2019-04-28 19:09:43",
"appId": "02c81872-0044-41ca-a5d5-2cc2f79e15ac",
"updateTime": "",
"customerId": "12345",
"status": "Normal",
"updateBy": "",
"_id": "9d88d87a-920a-43d3-abec-7c1f9df8327a",
"description": "12345",
"filepath": "statics\\\\material//65499801555656536(1).jpg",
"name": "图片素材04"
}
]
}错误时返回
{
"errorCode": 100,
"errorMsg": "系统错误"
}备注:
- 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2019-04-28 19:22 作者:彭湃