gost / server

GOST - Go implementation of OGC SensorThings API
MIT License
61 stars 19 forks source link

Add support for HistoricalLocation with multiple locations #50

Closed bertt closed 7 years ago

bertt commented 8 years ago

Should have support for multiple locations in post/put/patch request to HistoricalLocation?

sample: HTTP POST localhost:8080/v1.0/HistoricalLocations

{ "time": "2015-03-01T00:40:00.000Z", "Thing":{"@iot.id": 1 }, "Locations": [{"@iot.id": 2},{"@iot.id": 3}] }

Result: 2 records in HistoricalLocations Als GET to HistoricalLocation needs to fixed.