Player Details
Returns details about the most recently used players. Secret Hmac Required. Cache Time 15 Minutes.
Body
-
SelectActive number
If set, selects players active in this many days. Defaults to 0 which is the last 15 minutes.
-
SelectInActive number
If set, selects players not active for more than this many days. Defaults to 0 which selects active players.
POST /Account/Read/Player
curl \
-X POST https://Api.StrandVision.com/v1.0/Account/Read/Player \
-H "Authorization: X-apikey $ACCESS_TOKEN" \
-H "Authorization: X-apidate $ACCESS_TOKEN" \
-H "Authorization: X-apihmac $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"SelectActive":1,"SelectInActive":0}'
Request example
{
"SelectActive": 1,
"SelectInActive": 0
}
Request examples
{
"SelectActive": 1,
"SelectInActive": 0
}
Response examples (200)
[
{
"ServerId": 242,
"UniqueId": "rhald9-l48j9r-27jtm1e5rj",
"PlayerId": "",
"DatePing": 0,
"DateUpdate": "Thu, 20 Jul 2023 21:45:00 GMT",
"Parent": 10028,
"Custno": 10028,
"Active": 1,
"DateInstalled": "Sat, 27 Aug 2022 21:07:57 GMT",
"Username": "strandbuild",
"PcName": "MikeOffice",
"Mac": "00:50:56:9B:42:97",
"Remote_Addr": "38.103.247.52",
"Local_Addr": "192.168.200.18",
"Name": "Mike's Desktop in his office",
"DateStart": "Thu, 20 Jul 2023 18:38:00 GMT",
"UseCount": 83,
"Bandwidth": "45.8KB",
"DailyUse": 0,
"DailyBW": 0,
"ErrorCount": 1,
"ErrorMsg": "Bug Error: (IP 192.168.200.18) Process OptimizeTable 2, error 9999 - 127.0.0.1:onlinek_kiosks:SLOW table library with 5267 records took 6.59209 of 2 seconds (799 per second)",
"DateError": "Thu, 20 Jul 2023 21:40:53 GMT",
"DateRecover": 0,
"DateInfo": "Thu, 20 Jul 2023 21:38:00 GMT",
"DateFile": 0,
"DateDb": "Thu, 20 Jul 2023 21:40:35 GMT",
"DateFullDb": 0,
"DateRestart": "Fri, 31 Mar 2023 14:23:14 GMT",
"DateReboot": "Wed, 24 May 2023 12:48:52 GMT",
"DateEmail": "Thu, 20 Jul 2023 21:40:53 GMT",
"DatePlay": 0,
"CountEmail": 1,
"CountFile": 0,
"CountRecord": 11508,
"DetailsPC": "8@3Ghz Intel Xeon E5-2690, 32GB Ram",
"OS": "Ubuntu 22.04 x64 generic",
"SerialNo": "DEV_SERVER",
"RootPW": "XKU36SROT1JMI40FM9FCXDOH1KQD",
"ServerLoad": 8,
"SecondsDiff": 0,
"Extra": [
{
"disk": "8% (4TB free)",
"maclst": "ens160.27jtm1e5rj",
"kernel": "5.15.0-76-generic",
"tx": "296.8GB",
"rx": "894.6GB",
"txd": 0,
"rxd": 0
}
]
}
]
Response examples (200)
{
"ServerId": 242,
"UniqueId": "rhald9-l48j9r-27jtm1e5rj",
"PlayerId": 42.0,
"DatePing": 0,
"DateUpdate": "Mon, 31 Jul 2023 15:05:00 GMT",
"Parent": 10028,
"Custno": 10028,
"Active": 1,
"DateInstalled": "Sat, 27 Aug 2022 21:07:57 GMT",
"Username": "string",
"PcName": "string",
"Mac": "00:50:56:9B:42:97",
"Remote_Addr": "38.103.247.52",
"Local_Addr": "192.168.200.18",
"Name": "Mike's Desktop in his office",
"DateStart": "Mon, 31 Jul 2023 15:05:00 GMT",
"UseCount": 0,
"Bandwidth": "1.2KB",
"DailyUse": 0,
"DailyBW": 0,
"ErrorCount": 1,
"ErrorMsg": "string",
"DateError": "Thu, 27 Jul 2023 22:19:39 GMT",
"DateRecover": 0,
"DateInfo": "Mon, 31 Jul 2023 15:05:07 GMT",
"DateFile": 0,
"DateDb": "Mon, 31 Jul 2023 15:05:34 GMT",
"DateFullDb": 0,
"DateRestart": "Fri, 31 Mar 2023 14:23:14 GMT",
"DateReboot": "Wed, 24 May 2023 12:48:52 GMT",
"DateEmail": "Thu, 27 Jul 2023 22:19:39 GMT",
"DatePlay": 0,
"CountEmail": 1,
"CountFile": 0,
"CountRecord": 11504,
"DetailsPC": "8@3Ghz Intel Xeon E5-2690, 32GB Ram",
"OS": "Ubuntu 22.04 x64 generic",
"SerialNo": "DEV_SERVER",
"RootPW": "XKU3BRS9F8MD0ZCHH83D79SH1KQD",
"ServerLoad": 10,
"SecondsDiff": 6,
"Extra": {}
}