Dropped field "name" from API description.

pull/1/head
Stanislaw Klekot 2014-06-19 18:02:20 +02:00
rodzic ecdb9f8208
commit 0d3525f948
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -7,13 +7,13 @@ DELETE http://wlokalu.hswro.org/api/v1/person/<nick>
POST http://wlokalu.hswro.org/api/v1/sensor/<id>
{"name": "<name>", "state": "<state>"}
Sensor <id> is in state <state>. Sensor should be displayed as <name>.
Sensor <id> is in state <state>.
POST http://wlokalu.hswro.org/api/v1/sensor/<id>
{"name": "<name>", "state": ["<subid>", ...]}
{"state": ["<subid>", ...]}
Sensor <id> (displayed as <name>) has following entries: <subid>, ...
Sensor <id> has following entries: <subid>, ...
DELETE http://wlokalu.hswro.org/api/v1/sensor/<id>