Once https://github.com/mozilla-sensorweb/sensorthings/issues/228 is done, we need to implement this as described in https://github.com/mozilla-sensorweb/sensorthings/issues/228#issuecomment-274045507