semiotproject / semiot-platform

SemIoT Platform
http://semiot.ru
MIT License
8 stars 1 forks source link

Adapt Explorer to new observations' JSON-LD API #164

Closed soylent-grin closed 8 years ago

soylent-grin commented 8 years ago

Everyting changed.. again. Request schema: http://{host}:8787/observations?system_id={systemId}&sensor_id={sensorId}&start=2016-03-07T13:27:15

KMax commented 8 years ago

The Explorer shouldn't use any API except the api-gateway's one.

soylent-grin commented 8 years ago

Api Gateway request schema: http://{host}/systems/2918069529/observations?sensor_id=113496665-humidity&start=2016-03-07T15:27:15

soylent-grin commented 8 years ago

Looks like there is an issue with observations' querying on API gateway side

Amberdr0p commented 8 years ago

Filter for sensors has been added to query of the system observations.

@soylent-grin the request to http://{host}/systems/{system_id}/observations?sensor_id={sensor_id}&start=2016-03-07T15:27:15 should work now. It should return observations only for the given sensor.

soylent-grin commented 8 years ago

@KMax @Amberdr0p, can you please provide here actual format of new observations, coming from WAMP?

KMax commented 8 years ago

Look at https://github.com/semiotproject/semiot-platform/issues/170