From 0d3525f9485143e3a1a41347f8570999ffec5fac Mon Sep 17 00:00:00 2001 From: Stanislaw Klekot Date: Thu, 19 Jun 2014 18:02:20 +0200 Subject: [PATCH] Dropped field "name" from API description. --- API.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/API.txt b/API.txt index f263f5b..4393c70 100644 --- a/API.txt +++ b/API.txt @@ -7,13 +7,13 @@ DELETE http://wlokalu.hswro.org/api/v1/person/ POST http://wlokalu.hswro.org/api/v1/sensor/ {"name": "", "state": ""} - Sensor is in state . Sensor should be displayed as . + Sensor is in state . POST http://wlokalu.hswro.org/api/v1/sensor/ - {"name": "", "state": ["", ...]} + {"state": ["", ...]} - Sensor (displayed as ) has following entries: , ... + Sensor has following entries: , ... DELETE http://wlokalu.hswro.org/api/v1/sensor/