|
| web.Response | get (self, web.Request request) |
| |
|
| string | name = "api:core:state" |
| |
| | url = URL_API_CORE_STATE |
| |
View to handle core state requests.
Definition at line 107 of file __init__.py.
◆ get()
| web.Response homeassistant.components.api.APICoreStateView.get |
( |
|
self, |
|
|
web.Request |
request |
|
) |
| |
Retrieve the current core state.
This API is intended to be a fast and lightweight way to check if the
Home Assistant core is running. Its primary use case is for supervisor
to check if Home Assistant is running.
Definition at line 114 of file __init__.py.
◆ name
| string homeassistant.components.api.APICoreStateView.name = "api:core:state" |
|
static |
◆ url
| homeassistant.components.api.APICoreStateView.url = URL_API_CORE_STATE |
|
static |
The documentation for this class was generated from the following file: