- 后台接口
- 前台接口
- AI对话
- AI行业
- 问答拆分
- 上传接口
- 登录注册
- 其它配置
- 应用分享
- 充值套餐
- 用户管理
- 机器人管理
- 机器人发布
- 知识库提问
- 知识库数据
- 知识库管理
- 数字人
- 【新】后台接口
- 【新】前台接口
语音播报
POST
/api/chat/broadcast
请求参数
Query 参数
records_id
string
对话记录id
content
string
必需
type
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/chat/broadcast?records_id&content&type='
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
file
string
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"file": "http://www.chat.localhost/uploads/voice/question/e205ee2a5de471a70c1fd1b46033a75f.mp3"
}
}
修改于 2023-10-16 03:45:38