diff --git a/README.md b/README.md index 7cd2460..7dc973e 100644 --- a/README.md +++ b/README.md @@ -62,10 +62,10 @@ The token is shown once on the first startup. To regenerate it, run the server w #### 🎛️ Controllers -| Method | Route | Description | Request Body | -| ------ | -------------- | ----------------------------- | ------------- | -| POST | `/controllers` | Create a new controller | — | -| DELETE | `/controllers` | Delete an existing controller | `{ "ID": 1 }` | +| Method | Route | Description | +| ------ | -------------- | ----------------------------- | +| POST | `/controllers` | Create a new controller | +| DELETE | `/controllers` | Delete an existing controller |
🔧 Example Payload @@ -80,11 +80,11 @@ The token is shown once on the first startup. To regenerate it, run the server w #### 🎨 Colors -| 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" }` | +| Method | Route | Description | +| ------ | -------------- | -------------------------------------------------- | +| 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 |
🔧 Example Payload