From 3608a27d44dcf2bcae7a9a7b28667893814ae048 Mon Sep 17 00:00:00 2001 From: Siesta <124433727+siestaw@users.noreply.github.com> Date: Mon, 28 Jul 2025 22:54:54 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20feat(docs):=20improve=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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