Obtaining Basic Player Information
1.
This interface is used for obtaining the current player status (online/offline), player type, screen resolution, system version, IP address, etc.
2.
Sub-accounts can only manage data within their specific workgroup and its sub-workgroups.
Request
Random string (8-64 characters, only numbers or letters)
The current UTC timestamp
Body Params application/json
A collection of player IDs to be handled. At most 100 player IDs can be handled simultaneously.
A maximum of 100 players can be processed at the same time. With playerIds, this parameter is mandatory
{
"playerIds": [
"8208967d40e9980bab6d12367dc88e0b"
]
}
or
{
"playerSns": [
"2KKA02B12N0A10000151"
]
}
Request samples
curl --location --request POST 'https://open-us.vnnox.com/v2/player/current/online-status' \
--header 'AppKey;' \
--header 'Nonce;' \
--header 'CurTime;' \
--header 'CheckSum;' \
--header 'Content-Type: application/json' \
--data-raw '{
"playerIds": [
"8208967d40e9980bab6d12367dc88e0b"
]
}
or
{
"playerSns": [
"2KKA02B12N0A10000151"
]
}'
Responses
application/json array of:
Unique ID of a player. Null denotes that the player is not bound.
Player status, 0-Offline, 1-Online.
Last heartbeat time of the player
[
{
"playerId": "130c0a9f4cd9f2c9d421a97b0293e5d6",
"sn": "BZSA07216J0550000373",
"onlineStatus": 1,
"lastOnlineTime": "2020-09-09 14:48:50"
}
]
Modified at 2024-08-07 01:35:37