diff --git a/docs/api/supervisor/endpoints.md b/docs/api/supervisor/endpoints.md index e5ce36ce..c08ac11a 100644 --- a/docs/api/supervisor/endpoints.md +++ b/docs/api/supervisor/endpoints.md @@ -1799,6 +1799,7 @@ Returns information about the OS. | update_available | boolean | `true` if an update is available | | board | string | The name of the board | | boot | string | Which slot that are in use | +| data_disk | string | Device which is used for holding OS data persistent | **Example response:** @@ -1806,8 +1807,10 @@ Returns information about the OS. { "version": "4.3", "version_latest": "5.0", + "update_available": true, "board": "ova", - "boot": "slot1" + "boot": "slot1", + "data_disk": "/dev/sda" } ``` @@ -1823,6 +1826,18 @@ Update Home Assistant OS | ------- | ------ | -------------------------------------------------------------- | | version | string | The version you want to install, default is the latest version | + + + + +Move datadisk to a new location, **This will also reboot the device!** + +**Payload:** + +| key | type | description | +| ------- | ------ | ----------------------------------------------------------------- | +| device | string | Path to the new device which should be use as the target for the data migration | + ### Resolution