POST /api/v0.0.1/customprompts/query?token={token}
名称 | 类型 | 描述 |
---|---|---|
displayname |
String | 文件名(不包含后缀),可为空,空时为查询所有提示音 |
请求示例
POST /api/v0.0.1/customprompts/query?token=ac897fcf31e94bcee7d3e7c961b53495 HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 172.16.6.150
{
"displayname" : ""
}
响应示例
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
"status": "Success",
"data": [
{
"id": "1",
"displayname": "__invalid"
},
{
"id": "7",
"displayname": "msg0054"
}
]
}