2 Commits

Author SHA1 Message Date
Chris van Marle
c70f7ec86b
Fix supervisor ping URL (#990)
* Fix supervisor ping URL

In the current version I had to ping `http://<host>/supervisor/ping`, instead of `http://<host>/ping` as implied by the docs.

```
$ curl -sSL -H 'Authorization: Bearer <TOKEN>' 'http://homeassistant.local/ping'
404: Not Found

$ curl -sSL -H 'Authorization: Bearer <TOKEN>' 'http://homeassistant.local/supervisor/ping'
{"result": "ok", "data": {}}
```

* Use 'supervisor' as host name

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-30 09:48:17 +02:00
Joakim Sørensen
828cf1f930
Move Supervisor API (#666) 2020-10-09 14:38:40 +02:00