From c020d5079058e1ab18078745ac1fe2ea2e4cd35f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChl?= <31169771+Blueforcer@users.noreply.github.com> Date: Sun, 2 Apr 2023 19:38:27 +0200 Subject: [PATCH 1/7] Update api.md --- docs/api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 85fa022..f915f08 100644 --- a/docs/api.md +++ b/docs/api.md @@ -17,7 +17,8 @@ You can start the update with update button in HA or: create custom apps or notifications to display your own text and icons. Have a look at [this section](custom?id=custom-apps-and-notifications) -| Topic | URL | Payload/Body | HTTP Header | HTTP method | +| Topic | URL | Payload/Body | Query Parameters + | HTTP method | | --- | --- | --- |--- |--- | | `[PREFIX]/custom/[appname]` |`http://[IP]/api/custom` | JSON | name = [appname] | POST | From 4c35a26e68772113d2f730a4aa2ab92c0982a689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChl?= <31169771+Blueforcer@users.noreply.github.com> Date: Sun, 2 Apr 2023 19:45:24 +0200 Subject: [PATCH 2/7] Update api.md --- docs/api.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index f915f08..75daa00 100644 --- a/docs/api.md +++ b/docs/api.md @@ -17,8 +17,7 @@ You can start the update with update button in HA or: create custom apps or notifications to display your own text and icons. Have a look at [this section](custom?id=custom-apps-and-notifications) -| Topic | URL | Payload/Body | Query Parameters - | HTTP method | +| Topic | URL | Payload/Body | Query parameters | HTTP method | | --- | --- | --- |--- |--- | | `[PREFIX]/custom/[appname]` |`http://[IP]/api/custom` | JSON | name = [appname] | POST | From 681f40b6dd219a58b467b7dfeb88820aaf5bb3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChl?= <31169771+Blueforcer@users.noreply.github.com> Date: Sun, 2 Apr 2023 20:36:07 +0200 Subject: [PATCH 3/7] Update api.md --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 75daa00..dc6fb32 100644 --- a/docs/api.md +++ b/docs/api.md @@ -184,6 +184,6 @@ Here's an example JSON object to start a timer for 1 hour, 30 minutes, and 10 se "minutes": 30, "seconds": 10, "sound": "friends" -} +} ``` From f33115c5169371968a5844c01ea0cb92ec2ea7fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChl?= <31169771+Blueforcer@users.noreply.github.com> Date: Sun, 2 Apr 2023 20:37:04 +0200 Subject: [PATCH 4/7] Update api.md --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index dc6fb32..a32be47 100644 --- a/docs/api.md +++ b/docs/api.md @@ -9,7 +9,7 @@ With HTTP, make GET request to `http://[IP]/api/stats` ## Update Awtrix searches for an update every 1 Hour. If a new one is found it will be published to HA and in the stats. You can start the update with update button in HA or: -| Topic | URL | Payload/Body | HTTP Header | HTTP method | +| Topic | URL | Payload/Body | HTTP Header | HTTP method | | --- | --- | --- |--- |--- | | `[PREFIX]/doupdate` |`http://[IP]/api/doupdate` | JSON | empty payload/body | POST | From dfae6990dc3a96043ebb42b92bef842d425bbaa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChl?= <31169771+Blueforcer@users.noreply.github.com> Date: Sun, 2 Apr 2023 20:38:55 +0200 Subject: [PATCH 5/7] Update api.md --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index a32be47..290dad4 100644 --- a/docs/api.md +++ b/docs/api.md @@ -10,8 +10,8 @@ With HTTP, make GET request to `http://[IP]/api/stats` Awtrix searches for an update every 1 Hour. If a new one is found it will be published to HA and in the stats. You can start the update with update button in HA or: | Topic | URL | Payload/Body | HTTP Header | HTTP method | -| --- | --- | --- |--- |--- | -| `[PREFIX]/doupdate` |`http://[IP]/api/doupdate` | JSON | empty payload/body | POST | +| --- | --- | --- |--- |--- | +| `[PREFIX]/doupdate` |`http://[IP]/api/doupdate` | JSON | empty payload/body | POST | ## Add custom app create custom apps or notifications to display your own text and icons. From e77e875bad1ef7adae63952354f39c1829cc801f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChl?= <31169771+Blueforcer@users.noreply.github.com> Date: Sun, 2 Apr 2023 20:41:55 +0200 Subject: [PATCH 6/7] Update api.md --- docs/api.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/api.md b/docs/api.md index 290dad4..4639f0f 100644 --- a/docs/api.md +++ b/docs/api.md @@ -9,8 +9,9 @@ With HTTP, make GET request to `http://[IP]/api/stats` ## Update Awtrix searches for an update every 1 Hour. If a new one is found it will be published to HA and in the stats. You can start the update with update button in HA or: -| Topic | URL | Payload/Body | HTTP Header | HTTP method | -| --- | --- | --- |--- |--- | + +| Topic | URL | Payload/Body | HTTP Header | HTTP method | +| --- | --- | --- | --- | --- | | `[PREFIX]/doupdate` |`http://[IP]/api/doupdate` | JSON | empty payload/body | POST | ## Add custom app @@ -18,7 +19,7 @@ You can start the update with update button in HA or: Have a look at [this section](custom?id=custom-apps-and-notifications) | Topic | URL | Payload/Body | Query parameters | HTTP method | -| --- | --- | --- |--- |--- | +| --- | --- | --- | --- | --- | | `[PREFIX]/custom/[appname]` |`http://[IP]/api/custom` | JSON | name = [appname] | POST | ## Dismiss Notification From 072db41485f7e4f8f4207ddd04e71f455f3fb1d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChl?= <31169771+Blueforcer@users.noreply.github.com> Date: Sun, 2 Apr 2023 20:44:25 +0200 Subject: [PATCH 7/7] Update api.md --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 4639f0f..26dc22a 100644 --- a/docs/api.md +++ b/docs/api.md @@ -9,7 +9,7 @@ With HTTP, make GET request to `http://[IP]/api/stats` ## Update Awtrix searches for an update every 1 Hour. If a new one is found it will be published to HA and in the stats. You can start the update with update button in HA or: - + | Topic | URL | Payload/Body | HTTP Header | HTTP method | | --- | --- | --- | --- | --- | | `[PREFIX]/doupdate` |`http://[IP]/api/doupdate` | JSON | empty payload/body | POST |