远程控制日志
POST
/v2/logs/remote-control
提示
1.
2.
3.
请求参数
Header 参数
AppKey
string
接入键
默认值:
{{AppKey}}
Nonce
string
必需
CurTime
string
必需
CheckSum
string
请求签名
Body 参数application/json
playerId
string
必需
count
integer
可选
start
integer
可选
taskType
integer
必需
示例
{
"playerId": "df6c02352e4fd3cd5bc664fcdaef29c9",
"count": 20,
"start": 0,
"taskType": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-cn.vnnox.com/v2/logs/remote-control' \
--header 'AppKey;' \
--header 'Nonce;' \
--header 'CurTime;' \
--header 'CheckSum;' \
--header 'Content-Type: application/json' \
--data-raw '{
"playerId": "df6c02352e4fd3cd5bc664fcdaef29c9",
"count": 20,
"start": 0,
"taskType": 1
}'
返回响应
🟢200成功
application/json
Body
total
integer
必需
rows
array [object {3}]
必需
status
integer
必需
executeTime
string
命令执行时间
type
string
必需
示例
{
"total": 3,
"rows": [
{
"status": 1,
"executeTime": "2024-07-02 04:55:48",
"type": "openScreen"
},
{
"status": 1,
"executeTime": "2024-07-02 04:55:33",
"type": "openScreen"
},
{
"status": 1,
"executeTime": "2024-07-02 04:55:16",
"type": "openScreen"
}
]
}
修改于 2024-08-07 01:35:02