diff --git a/source/developers/rest_api.markdown b/source/developers/rest_api.markdown index 3f2c4107953..91a99baa770 100644 --- a/source/developers/rest_api.markdown +++ b/source/developers/rest_api.markdown @@ -99,6 +99,24 @@ Sample `curl` command: $ curl -X GET -H "x-ha-access: YOUR_PASSWORD" http://localhost:8123/api/config ``` +#### {% linkable_title GET /api/discovery_info %} +Returns basic information about the Home Assistant instance as JSON. + +```json +{ + "base_url": "http://127.0.0.1:8123", + "location_name": "Home", + "requires_api_password": true, + "version": "0.20.0.dev0" +} +``` + +Sample `curl` command: + +```bash +$ curl -X GET -H "x-ha-access: YOUR_PASSWORD" http://localhost:8123/api/discovery_info +``` + #### {% linkable_title GET /api/bootstrap %} Returns all data needed to bootstrap Home Assistant.