GET http://IP-address:8888/GetDisplays − getting available displays for current logged user.
Sample response:
{ "Description": "", "Status": "OK", "DisplayInfo": [ { "Id": "\\\\.\\DISPLAY1", "IsMainForm": true }, { "Id": "\\\\.\\DISPLAY2", "IsMainForm": false } ] }
Parametr | Description |
---|---|
id | Display ID. |
IsMainForm | The 'true' value corresponds to the main display. Attention! In other requests, use the monitor Id in the following format: \\.\DISPLAY1 |
Here is an example of an error message:
{ "{\"result\":\"no displays\"}" }