获取设备排行
POST
/myauth/web/getUserDeviceInfoRanking
请求参数
Header 参数
token
string
必需
示例值:
123
Body 参数application/json
二选一
id
integer
软件ID
skey
string
软件key
pageIndex
integer
必需
pageSize
integer
必需
示例
{
"id": 1,
"pageIndex": 1,
"pageSize": 10
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/myauth/web/getUserDeviceInfoRanking' \
--header 'token: 123' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1,
"pageIndex": 1,
"pageSize": 10
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
pageIndex
integer
必需
pageSize
integer
必需
pageNum
integer
必需
total
integer
必需
list
array [object {3}]
必需
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "获取成功",
"sign": "",
"result": {
"pageIndex": 1,
"pageSize": 10,
"pageNum": 1,
"total": 7,
"list": [
{
"deviceInfo": "Windows 10",
"count": 27,
"fromSoftName": "MyQQ"
},
{
"deviceInfo": "获取失败,请检查版本:10.0",
"count": 14,
"fromSoftName": "MyQQ"
},
{
"deviceInfo": "Windows 7",
"count": 7,
"fromSoftName": "MyQQ"
},
{
"deviceInfo": "Windows Server 2016 Datacenter",
"count": 6,
"fromSoftName": "MyQQ"
},
{
"deviceInfo": "Windows Server 2019 Datacenter",
"count": 1,
"fromSoftName": "MyQQ"
},
{
"deviceInfo": "Windows Server 2019 Standard",
"count": 1,
"fromSoftName": "MyQQ"
}
]
},
"timestamp": 1647520094943
}
🔴500错误
修改于 2022-03-17 12:28:25