gost / server

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

Conformance Crud test: Add create, update, delete for HistoricalLocation #39

Closed bertt closed 8 years ago

bertt commented 8 years ago

from the latest spec: "The HistoricalLocation can also be created, updated and deleted. One use case is to migrate historical observation data from an existing observation data management system to a SensorThings API system"

bertt commented 8 years ago

sample create: http post to http://localhost:8080/v1.0/HistoricalLocations { "time": "2015-03-01T00:40:00.000Z", "Thing":{"@iot.id": 1}, "Locations": [{"@iot.id": 1}]
}

response code 201 created