意图示例创建
更新时间:2024-11-04
1、接口地址:(POST) {IP}:{PORT}/open/v1/intent/example/create
2、入参(需生成json字符串,放到请求的body中)
| 参数名 | 类型 | 是否可空 | 备注 |
|---|---|---|---|
| example | string | 否 | 意图示例 |
| intentId | string | 否 | 意图id【数据存储ID】 |
3、返回值
| 参数名 | 类型 | 父节点 | 备注 |
|---|---|---|---|
| code | int | HTTP状态码 | |
| time | long | 时间 | |
| msg | string | 状态信息 | |
| data | T | 数据信息 | |
| id | string | data | id |
示例:
Plain Text
1{
2 "code":4002801,
3 "time":1568613825147,
4 "msg":"新建意图示例成功",
5 "data":{"id":"xxxxx"}
6}
