用户意图新建
更新时间:2024-11-04
1、接口地址:(POST) {IP}:{PORT}/open/v1/user/intent/create
2、入参(需生成json字符串,放到请求的body中)
| 参数名 | 类型 | 是否可空 | 备注 |
|---|---|---|---|
| name | string | 否 | 意图名称 |
| nameZh | string | 否 | 意图中文名称 |
| alias | string | 是 | 意图别名 |
| description | string | 是 | 描述 |
3、返回值
| 参数名 | 类型 | 父节点 | 备注 |
|---|---|---|---|
| code | int | HTTP状态码 | |
| time | long | 时间 | |
| msg | string | 状态信息 | |
| data | T | 数据信息 | |
| id | string | data | id信息 |
示例:
Plain Text
1{
2 "data":{"id":"xxxxxxx"}
3 "code":200,
4 "time":1567998660176,
5 "msg":"OK",
6 }
