Use Case 13 is dedicated to information related to the protection in real time of cyclists circulating on the road network.
All requests made to the API must be sent to the following URL (URL base):
Publication
To publish information, a REST API is available:
- General details for making a request:
- The details of the master tables and data that can compose the event:
- The structure of the event can be seen here:
Subscription
The service subscription part of use case 13 will be done using the MQTT protocol.
MQTT (MQ Telemetry Transport) is a messaging protocol used as a simple and lightweight method to transfer data to / from low-power devices.
The protocol supports a single messaging pattern, the Publish-Subscribe pattern: each message is published on a topic that must be subscribed to in order to receive the information.
Subscription to the service of this use case must be through the topic:
usecase13/events
See more information and a connection example here.