查询用户在线状态
POST
/user/status/query
服务端接口/安全校验
realm/{域ID}/app/{AppID}/user/{用户ID}/online_status
topic 中发送:{
"users": [
{
"userID": "user1",
"status": "STATUS_ONLINE",
"devices": [
{
"deviceType": 1
}
]
}
]
}
请求参数
Header 参数
trace
string
可选
示例值:
{% mock 'string' , 'abcdefghijklmnopqrstuvwxyz1234567890' , 10 , 10 %}
appid
string
可选
示例值:
{{appid}}
X-HIAR-OPENAPI-APPID
string
可选
示例值:
{{appid}}
X-HIAR-OPENAPI-Nonce
string
可选
示例值:
{{openapi-nonce}}
X-HIAR-OPENAPI-DATE
string
可选
示例值:
{{openapi-date}}
X-HIAR-OPENAPI-SIGNATURE
string
可选
示例值:
{{openapi-signature}}
Body 参数application/json
示例代码
返回响应
修改于 2023-07-04 09:22:46