设置自定义在线状态
POST
/set_diy_online_status
请求参数
Body 参数application/json
face_id
表情ID
Any of
face_type
string | number
Any of
wording
string
描述文本
示例
{
"face_id": 10,
"face_type": 1,
"wording": "欸嘿"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/set_diy_online_status' \
--header 'Content-Type: application/json' \
--data-raw '{
"face_id": 10,
"face_type": 1,
"wording": "欸嘿"
}'
返回响应
🟢200成功
application/json
Body
status
enum<string>
必需
枚举值:
ok
retcode
number
必需
data
string
必需
message
string
必需
wording
string
必需
echo
string | null
必需
示例
{
"status": "ok",
"retcode": 0,
"data": "string",
"message": "string",
"wording": "string",
"echo": "string"
}
修改于 2025-03-01 08:12:01