mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add /api/bootstrap
This commit is contained in:
parent
43012f4d92
commit
178aca50c1
@ -87,6 +87,18 @@ Returns the current configuration as JSON.
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### {% linkable_title GET /api/bootstrap %}
|
||||||
|
Returns all data needed to bootstrap Home Assistant.
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"config": {...},
|
||||||
|
"events": [...],
|
||||||
|
"services": [...],
|
||||||
|
"states": [...]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
#### {% linkable_title GET /api/events %}
|
#### {% linkable_title GET /api/events %}
|
||||||
Returns an array of event objects. Each event object contain event name and listener count.
|
Returns an array of event objects. Each event object contain event name and listener count.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user