Which API to use?
Bosch IoT Things service provides various ways to interact:
- A REST-like HTTP API
with a sophisticated resource layout, that allows to create, read, update and delete Things and the Thing’s data.
- A Ditto Java Client
which implements our API to communicate with the Things service in Java. The client itself uses the WebSocket protocol.
- A WebSocket endpoint for interacting based on the Eclipse Ditto protocol
- Data ingestion and device control via the Bosch IoT Hub service
based on AMQP 1.0.
- Managed connections to external messaging/communication endpoints - based on Eclipse Ditto protocol or using payload mapping:
- connecting to HTTP endpoints POST, PUT or PATCH requests
- connecting to Advanced Message Queuing Protocol (AMQP) brokers (currently we support AMQP 0.9.1 and AMQP 1.0)
- connecting to Message Queuing Telemetry Transport (MQTT) brokers (currently we support MQTT 3.1.1)
- connecting to Apache Kafka (currently we support Kafka 2.x)
Find further details in the developer guide Which API to use? > comparison by feature.