GET http://IP-address:8888/GetDisplays - getting available displays for current logged user.
Here is an example of response:
{
"Description": "",
"Status": "OK",
"DisplayInfo": [
{
"Id": "\\\\.\\DISPLAY1",
"IsMainForm": true
},
{
"Id": "\\\\.\\DISPLAY2",
"IsMainForm": false
}
]
}
where
id - display ID;
IsMainForm - the 'true' value corresponds to the main display.
Here is an example of an error message:
{
"{\"result\":\"no displays\"}"
}