Dial List
Name | Route | Method | Query Parameters |
---|---|---|---|
Retrieve Dial List | /api/v0/dial/list |
GET |
key |
API route used to retrieve list of available dials.
Note
The server will return only the dials that are available for the API key that was used to make the call.
Example usage
GET
- http://localhost:5340/api/v0/dial/list?key=...
Response is a JSON object
{
"status": "ok",
"message": "",
"data": [
{
"uid": "590056000650564139323920",
"dial_name": "CPU (hub)",
"value": 31,
"backlight": {
"red": 39,
"green": 3,
"blue": 39
},
"image_file": "img_590056000650564139323920"
},
{
"uid": "4C0065000650564139323920",
"dial_name": "MEM",
"value": 40,
"backlight": {
"red": 39,
"green": 3,
"blue": 39
},
"image_file": "img_4C0065000650564139323920"
},
{
"uid": "3E0075000650564139323920",
"dial_name": "GPU",
"value": 16,
"backlight": {
"red": 39,
"green": 3,
"blue": 39
},
"image_file": "img_3E0075000650564139323920"
},
{
"uid": "550075000650564139323920",
"dial_name": "NET",
"value": 2,
"backlight": {
"red": 39,
"green": 11,
"blue": 17
},
"image_file": "img_550075000650564139323920"
}
]
}