mirror of
https://github.com/kaaninchen/Laterna.git
synced 2026-09-17 19:12:48 +00:00
📚 feat(docs): fix README
This commit is contained in:
@@ -74,9 +74,6 @@ Authorization: <token>
|
|||||||
| GET | `/colors/{id}` | Get the current color of a specific controller | — |
|
| GET | `/colors/{id}` | Get the current color of a specific controller | — |
|
||||||
| PUT | `/colors/{id}` | Set the color of a controller | `{ "color": "#FF0000" }` |
|
| PUT | `/colors/{id}` | Set the color of a controller | `{ "color": "#FF0000" }` |
|
||||||
|
|
||||||
> [!INFO]
|
|
||||||
> Every specified ID has to be greater than 0
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### cURL examples
|
### cURL examples
|
||||||
@@ -88,7 +85,7 @@ $ curl -X POST http://your-server.com/api/v1/controllers \
|
|||||||
-H "Authorization: $TOKEN"
|
-H "Authorization: $TOKEN"
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!INFO]
|
> [!TIP]
|
||||||
> Response with the newly assigned ID. The ID will always be the next available one
|
> Response with the newly assigned ID. The ID will always be the next available one
|
||||||
|
|
||||||
#### Delete a controller
|
#### Delete a controller
|
||||||
|
|||||||
Reference in New Issue
Block a user