4. Sensor Subscriptions

Sensor subscriptions are handled using the /subscribe URL.

4.1. Get Sensor Subscriptions

To view sensors that the current user is subscribed to:

URL http://wotkit.sensetecnic.com/api/subscribe
Privacy Private
Format json
Method GET
Returns Appropriate HTTP status code; OK 200 - if successful

4.2. Subscribe

To subscribe to a non-private sensor or private sensor owned by the current user:

URL http://wotkit.sensetecnic.com/api/subscribe/{sensorname}
Privacy Private
Format json
Method PUT
Returns HTTP status code; No Content 204 if successful

4.3. Unsubscribe

To unsubscribe from a sensor:

URL http://wotkit.sensetecnic.com/api/subscribe/{sensorname}
Privacy Private
Format json
Method DELETE
Returns HTTP status code; No Content 204 if successful

Project Versions

Table Of Contents

Previous topic

3. Sensors

Next topic

5. Sensor Fields

This Page