From f6dc4aef97fe4a7272a81ddd55b844fe5980c0b8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 10 May 2016 08:05:22 +0200 Subject: [PATCH] Remove second discovery_info section --- source/developers/rest_api.markdown | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/source/developers/rest_api.markdown b/source/developers/rest_api.markdown index 91a99baa770..cd1df7ae478 100644 --- a/source/developers/rest_api.markdown +++ b/source/developers/rest_api.markdown @@ -301,24 +301,6 @@ $ curl -X GET -H "x-ha-access: YOUR_PASSWORD"\ http://localhost:8123/api/camera_proxy/camera.my_sample_camera?time=1462653861261 -o image.jpg ``` -#### {% linkable_title GET /api/discovery_info %} -Retrieve about the discovery feature. - -```json -{ - "base_url": "http://192.168.1.2:8123", - "location_name": "My home", - "requires_api_password": true, - "version": "0.19.0" -} -``` - -Sample `curl` command: - -```bash -$ curl -X GET -H "x-ha-access: YOUR_PASSWORD" \ - http://localhost:8123/api/discovery_info - #### {% linkable_title POST /api/states/<entity_id> %} Updates or creates the current state of an entity.