feat(colors): Add a route which lists all available controllers with their metadata

This commit is contained in:
Siesta
2025-07-28 21:36:06 +02:00
parent 9453fab912
commit b50a62a52d
3 changed files with 35 additions and 6 deletions
+5 -4
View File
@@ -66,10 +66,11 @@ Authorization: <token>
#### Colors
| Method | Route | Description | Request Body |
| ------ | -------------- | ------------------------------------- | ------------------------ |
| GET | `/colors/{id}` | Get the current color of a controller | — |
| PUT | `/colors/{id}` | Set the color of a controller | `{ "color": "#FF0000" }` |
| Method | Route | Description | Request Body |
| ------ | -------------- | -------------------------------------------------- | ------------------------ |
| GET | `/colors/` | Get the current color of all available controllers | — |
| GET | `/colors/{id}` | Get the current color of a specific controller | — |
| PUT | `/colors/{id}` | Set the color of a controller | `{ "color": "#FF0000" }` |
---