Add update backup payload (#1158)

* Add update backup payload

* Add Optionally

* Add Optionally

* Use defaults
This commit is contained in:
Joakim Sørensen 2021-12-28 11:15:09 +01:00 committed by GitHub
parent 02c72eeff7
commit ed660ba2a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1026,6 +1026,7 @@ Update Home Assistant core
| key | type | description |
| ------- | ------ | -------------------------------------------------------------- |
| version | string | The version you want to install, default is the latest version |
| backup | boolean | Create a partial backup of core and core configuration before updating, default is false |
</ApiEndpoint>
@ -2184,6 +2185,12 @@ Install an add-on from the store.
Update an add-on from the store.
**Payload:**
| key | type | description |
| ------- | ------ | -------------------------------------------------------------- |
| backup | boolean | Create a partial backup of the add-on, default is false |
</ApiEndpoint>
<ApiEndpoint path="/store/reload" method="post">