|
| FileResponse|Response | get (self, Request request, str slug) |
| |
|
| string | name = "api:backup:download" |
| |
| string | url = "/api/backup/download/{slug}" |
| |
Generate backup view.
Definition at line 27 of file http.py.
◆ get()
| FileResponse | Response homeassistant.components.backup.http.DownloadBackupView.get |
( |
|
self, |
|
|
Request |
request, |
|
|
str |
slug |
|
) |
| |
Download a backup file.
Definition at line 33 of file http.py.
◆ name
| string homeassistant.components.backup.http.DownloadBackupView.name = "api:backup:download" |
|
static |
◆ url
| string homeassistant.components.backup.http.DownloadBackupView.url = "/api/backup/download/{slug}" |
|
static |
The documentation for this class was generated from the following file:
- core/homeassistant/components/backup/http.py