mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 10:26:52 +00:00
Remove bootstrap
This commit is contained in:
parent
3dd6b55178
commit
7cd00fb11d
@ -139,25 +139,6 @@ $ curl -X GET -H "x-ha-access: YOUR_PASSWORD" \
|
|||||||
-H "Content-Type: application/json" http://localhost:8123/api/discovery_info
|
-H "Content-Type: application/json" http://localhost:8123/api/discovery_info
|
||||||
```
|
```
|
||||||
|
|
||||||
#### {% linkable_title GET /api/bootstrap %}
|
|
||||||
Returns all data needed to bootstrap Home Assistant.
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"config": {...},
|
|
||||||
"events": [...],
|
|
||||||
"services": [...],
|
|
||||||
"states": [...]
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Sample `curl` command:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ curl -X GET -H "x-ha-access: YOUR_PASSWORD" \
|
|
||||||
-H "Content-Type: application/json" http://localhost:8123/api/bootstrap
|
|
||||||
```
|
|
||||||
|
|
||||||
#### {% linkable_title GET /api/events %}
|
#### {% linkable_title GET /api/events %}
|
||||||
Returns an array of event objects. Each event object contains event name and listener count.
|
Returns an array of event objects. Each event object contains event name and listener count.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user