mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-23 09:16:32 +00:00
Add snapshot content (#936)
This commit is contained in:
parent
cc11cb87f5
commit
3e17a760e0
@ -1914,8 +1914,13 @@ Return a list of [Snapshot models](api/supervisor/models.md#snapshot)
|
||||
"slug": "skuwe823",
|
||||
"date": "2020-09-30T20:25:34.273Z",
|
||||
"name": "Awesome snapshot",
|
||||
"type": "full",
|
||||
"protected": true
|
||||
"type": "partial",
|
||||
"protected": true,
|
||||
"content": {
|
||||
"homeassistant": true,
|
||||
"addons": ["awesome_addon"],
|
||||
"folders": ["ssl", "media"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -175,6 +175,17 @@ These models are describing objects that are getting returned from the superviso
|
||||
| name | string | The name given to the snapshot |
|
||||
| type | string | The type of snapshot (full, partial) |
|
||||
| protected | boolean | `true` if the snapshot is password protected |
|
||||
| content | dictionary | A dictionary describing the content of the snapshot |
|
||||
|
||||
### Snapshot -> content
|
||||
|
||||
The `content` key of a snapshot object contains the following keys:
|
||||
|
||||
| key | type | description |
|
||||
| --------- | ------- | --------------------------------------------------------------------- |
|
||||
| homeassistant | boolean | `true` if the snapshot contains homeassistant
|
||||
| addons | list | A list of add-on slugs included in the snapshot
|
||||
| folders | list | A list of folder names included in the snapshot
|
||||
|
||||
## Snapshot details
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user