summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-07-26 22:53:50 +0200
committerxengineering <me@xengineering.eu>2025-07-26 22:53:50 +0200
commit325f029c35422267c4b3267838b9a46b4baf39e2 (patch)
tree2c10ebc3a0cf656ed9b60e5c5115b8485f2ab7bf
parent288d036a8bcc83ef9bb310256e0813f122b5e41b (diff)
downloadiot-contact-325f029c35422267c4b3267838b9a46b4baf39e2.tar
iot-contact-325f029c35422267c4b3267838b9a46b4baf39e2.tar.zst
iot-contact-325f029c35422267c4b3267838b9a46b4baf39e2.zip
doc: api: future: Switch to pull updates
-rw-r--r--doc/api/future.md28
1 files changed, 12 insertions, 16 deletions
diff --git a/doc/api/future.md b/doc/api/future.md
index ad5e43d..4cf0d40 100644
--- a/doc/api/future.md
+++ b/doc/api/future.md
@@ -25,32 +25,26 @@ accessed directly with its link-local address.
- `GET /device/type` `text/plain`
- `GET /device/type/uuid` `text/plain`
- `GET /device/hardware/version` `text/plain`
+- `GET /device/firmware/version` `text/plain`
- `GET /device/mac-address/eui-48` `text/plain`
-- `POST /device/reboot`
- `GET /settings` `application/json`
- `PUT /settings` `application/json`
-- `GET /firmware/bootloader/version` `text/plain`
-- `GET /firmware/bootloader` `application/octet-stream`
-
-- `GET /firmware/application/active/version` `text/plain`
-- `GET /firmware/application/active` `application/octet-stream`
-- `GET /firmware/application/active/confirmed-flag` `text/plain`
-- `PUT /firmware/application/active/confirmed-flag` `text/plain`
-
-- `GET /firmware/application/inactive/version` `text/plain`
-- `GET /firmware/application/inactive` `application/octet-stream`
-- `PUT /firmware/application/inactive` `application/octet-stream`
-- `DELETE /firmware/application/inactive`
-- `GET /firmware/application/inactive/test-boot-flag` `text/plain`
-- `PUT /firmware/application/inactive/test-boot-flag` `text/plain`
-
# Settings
```
{
"hostname": "mydevice",
+ "update": {
+ "url": "https://deploy.xengineering.eu/git/iot-contact/latest/",
+ "automation": {
+ "enable": false,
+ "hour": null,
+ "minute": null,
+ "second": null
+ }
+ },
"mqtt": {
"broker": "mqtt://...",
"prefix": "com/example/"
@@ -94,3 +88,5 @@ noted down explicitly in the following MQTT API documentation.
- write-only `request/blind/closure` (`0`, `1`, ... `100`)
- read-only `blind/motion` (`up`, `down`, `stopped`)
- write-only `request/blind/motion` (`up`, `down`, `stopped`)
+- write-only `update/trigger`
+- read-only `update/required` (`true`, `false`)