Add /api/bootstrap
This commit is contained in:
parent
43012f4d92
commit
178aca50c1
1 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue