Sensor subscriptions are handled using the /subscribe URL.
To view sensors that the current user is subscribed to:
| URL | https://smartstreets.sensetecnic.com/wotkit/api/subscribe |
| Privacy | Private |
| Format | json |
| Method | GET |
| Returns | Appropriate HTTP status code; OK 200 - if successful |
To subscribe to a non-private sensor or private sensor owned by the current user:
| URL | https://smartstreets.sensetecnic.com/wotkit/api/subscribe/{sensorname} |
| Privacy | Private |
| Format | json |
| Method | PUT |
| Returns | HTTP status code; No Content 204 if successful |
To unsubscribe from a sensor:
| URL | https://smartstreets.sensetecnic.com/wotkit/api/subscribe/{sensorname} |
| Privacy | Private |
| Format | json |
| Method | DELETE |
| Returns | HTTP status code; No Content 204 if successful |