📚 feat(docs): improve README

This commit is contained in:
Siesta
2025-07-28 22:54:54 +02:00
parent e15aff09f1
commit 3608a27d44
+9 -9
View File
@@ -62,10 +62,10 @@ The token is shown once on the first startup. To regenerate it, run the server w
#### 🎛️ Controllers #### 🎛️ Controllers
| Method | Route | Description | Request Body | | Method | Route | Description |
| ------ | -------------- | ----------------------------- | ------------- | | ------ | -------------- | ----------------------------- |
| POST | `/controllers` | Create a new controller | — | | POST | `/controllers` | Create a new controller |
| DELETE | `/controllers` | Delete an existing controller | `{ "ID": 1 }` | | DELETE | `/controllers` | Delete an existing controller |
<details> <summary>🔧 Example Payload</summary> <details> <summary>🔧 Example Payload</summary>
@@ -80,11 +80,11 @@ The token is shown once on the first startup. To regenerate it, run the server w
#### 🎨 Colors #### 🎨 Colors
| Method | Route | Description | Request Body | | Method | Route | Description |
| ------ | -------------- | -------------------------------------------------- | ------------------------ | | ------ | -------------- | -------------------------------------------------- |
| GET | `/colors/` | Get the current color of all available controllers | — | | GET | `/colors/` | Get the current color of all available controllers |
| 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 |
<details> <summary>🔧 Example Payload</summary> <details> <summary>🔧 Example Payload</summary>