Fix REST discovery API documentation

Replace reference to nonexistent "hint" URI for POSTing to the discovery
cache with correct reference:
/rest/system/discovery/hint -> /rest/system/discovery
This commit is contained in:
Leo Famulari
2015-07-08 22:57:20 -04:00
parent 1940d5fbfa
commit 57c3d34c78
2 changed files with 11 additions and 11 deletions
-11
View File
@@ -1,11 +0,0 @@
POST /rest/system/discovery/hint
================================
Post with the query parameters ``device`` and ``addr`` to add entries to
the discovery cache.
.. code-block:: bash
curl -X POST http://127.0.0.1:8384/rest/system/discovery/hint?device=LGFPDIT7SKNNJVJZA4FC7QNCRKCE753K72BW5QD2FOZ7FRFEP57Q\&addr=192.162.129.11:22000
# Or with the X-API-Key header:
curl -X POST --header "X-API-Key: TcE28kVPdtJ8COws1JdM0b2nodj77WeQ" http://127.0.0.1:8384/rest/system/discovery/hint?device=LGFPDIT7SKNNJVJZA4FC7QNCRKCE753K72BW5QD2FOZ7FRFEP57Q\&addr=192.162.129.11:22000
+11
View File
@@ -0,0 +1,11 @@
POST /rest/system/discovery
================================
Post with the query parameters ``device`` and ``addr`` to add entries to
the discovery cache.
.. code-block:: bash
curl -X POST http://127.0.0.1:8384/rest/system/discovery?device=LGFPDIT7SKNNJVJZA4FC7QNCRKCE753K72BW5QD2FOZ7FRFEP57Q\&addr=192.162.129.11:22000
# Or with the X-API-Key header:
curl -X POST --header "X-API-Key: TcE28kVPdtJ8COws1JdM0b2nodj77WeQ" http://127.0.0.1:8384/rest/system/discovery?device=LGFPDIT7SKNNJVJZA4FC7QNCRKCE753K72BW5QD2FOZ7FRFEP57Q\&addr=192.162.129.11:22000