mirror of
https://github.com/kaaninchen/Laterna.git
synced 2026-09-17 19:12:48 +00:00
✨ feat(colors): Add a route which lists all available controllers with their metadata
This commit is contained in:
@@ -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" }` |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user