|
| list | extra_urls = ["/api/logbook/{datetime}"] |
| |
| string | name = "api:logbook" |
| |
| string | url = "/api/logbook" |
| |
Handle logbook view requests.
Definition at line 37 of file rest_api.py.
◆ __init__()
| None homeassistant.components.logbook.rest_api.LogbookView.__init__ |
( |
|
self, |
|
|
dict[str, Any] |
config, |
|
|
Filters | None |
filters, |
|
|
Callable[[str], bool] | None |
entities_filter |
|
) |
| |
Initialize the logbook view.
Definition at line 44 of file rest_api.py.
◆ get()
| web.Response homeassistant.components.logbook.rest_api.LogbookView.get |
( |
|
self, |
|
|
web.Request |
request, |
|
|
str | None |
datetime = None |
|
) |
| |
Retrieve logbook entries.
Definition at line 55 of file rest_api.py.
◆ config
| homeassistant.components.logbook.rest_api.LogbookView.config |
◆ entities_filter
| homeassistant.components.logbook.rest_api.LogbookView.entities_filter |
◆ extra_urls
| list homeassistant.components.logbook.rest_api.LogbookView.extra_urls = ["/api/logbook/{datetime}"] |
|
static |
◆ filters
| homeassistant.components.logbook.rest_api.LogbookView.filters |
◆ name
| string homeassistant.components.logbook.rest_api.LogbookView.name = "api:logbook" |
|
static |
◆ url
| string homeassistant.components.logbook.rest_api.LogbookView.url = "/api/logbook" |
|
static |
The documentation for this class was generated from the following file: