kopia lustrzana https://github.com/HackerspaceWroclaw/wlokalu
Dropped field "name" from API description.
rodzic
ecdb9f8208
commit
0d3525f948
6
API.txt
6
API.txt
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue