REST API Service Routes System information
April 13, 2023 at 2:39 AMGet system information
Retrieve the information regarding the operating system the SpringCard Companion Service is running on.
URL : /service/system
Method : GET
URL Params : None
Data Params : None
Success Response
Code : 200 OK
Content : an object providing the key-technical data made available by the underlying operating system. The actual list of keys and their values depends on the OS.
Content example
{
"OperatingSystem": "Microsoft Windows 10 Professionnel",
"Platform": "Win32NT",
"OSVersion": "6.2.9200.0",
"OSServicePack": "",
"SystemIs64Bit": true,
"SystemIsDebug": false,
"ProcessorArchitecture": "Intel64 Family 6 Model 94 Stepping 3, GenuineIntel",
"ProcessorCount": 4,
"PhysicalMemory": "7.912GB",
"BootMode": "Normal",
"PowerLineStatus": "Online",
"BatteryChargeStatus": "NoSystemBattery",
"BatteryLifePercent": "100%",
"BatteryLifeRemaining": -1,
"Culture": "fr-FR",
"ApplicationIs64Bit": false,
"ApplicationIsElevated": false,
"UserIsAdmin": false,
"CommandLine": "CompanionService.exe --console",
"CurrentDirectory": "C:/Program Files (x86)/SpringCard/CompanionService/bin",
"Secure": false,
"MachineName": "PC-JDA-164",
"ComputerName": "PC-JDA-164",
"UserName": "johann",
"UserInteractive": true,
"TerminalServer": false,
"ShutdownStarted": false
}
Error Response
See Error Responses.