Commands involve the need to change or retrieve something of a digital twin managed by Ditto or an actual device connected to Ditto.
Commands always contain an identifier of the entity they address (e.g. a Thing ID
).
Modify Commands
Commands which modify a digital twin or an actual device are grouped as “Modify Commands”.
In CQRS system those are simply
referred to as commands.
An overview of all Thing related modify commands can be found in the appropriate chapter of the Ditto Protocol:
Query Commands
Commands which only retrieve information about a digital twin or an actual device are grouped as “Query Commands”.
In CQRS system those are simply
referred to as queries.
An overview of all Thing related query commands can be found in the chapter “Retrieve protocol specification” of the Ditto Protocol.