-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
POST /sensors/data
and GET/sensors/data
should contain the sensor ID in the URL, like all other endpoints do.
We require the user to put it in the JSON body (even in a to-be-deprecated entity address).
We should move to POST /sensors/(id)/data
and GET/sensors/(id)/data
.
Technical challenge: Linking the sensor ID to the JSON data, as SensorDataDescriptionSchema (and its derivatives) need the sensor Id to do some validations on the input (e.g. sensor.event_resolution
).
We should then announce the deprecation, while both sets will remain working for one more version.