5.9.1 api display caps
The /api/display/caps function returns a list of device displays including their properties. Use the function for display detection and resolution.
The function is part of the Display service and the user must be assigned the Display Control privilege for authentication if required.
The GET or POST method can be used for this function.
The function has no parameters.
The reply is in the application/json format and includes a list of available displays (displays).
Parameter | Description |
---|---|
display | Display identifier |
resolution | Display resolution in pixels |
Example:
GET /api/display/caps { "success" : true, "result" : { "displays" : [ { "display" : "internal", "resolution" : { "width" : 320, "height" : 240 } } ] } }