JointSpace API Documentation
REST API Method: GET ambilight/topology
Returns the number of layers and the number of pixels on each side.
URL
http://ip-address:1925/1/ambilight/topology
Format
json
HTTP Method
GET
Requires Authentication
false
Parameters
Response
This resource returns a JSON object with key/value pairs. See the JSON example for how these key/value pairs are returned.
Keys
- layers (integer number): The number of layers.
- left (integer number): The number of pixels on the left.
- top (integer number): The number of pixels on the top.
- right (integer number): The number of pixels on the right.
- bottom (integer number): The number of pixels on the bottom.
JSON example
{
"layers": 2,
"left": 4,
"top": 6,
"right": 4,
"bottom": 0
}