diff --git a/api/asynapi/mqtt.yaml b/api/asynapi/mqtt.yaml new file mode 100644 index 0000000..82e123a --- /dev/null +++ b/api/asynapi/mqtt.yaml @@ -0,0 +1,21 @@ +asyncapi: 2.6.0 +info: + title: Agent Service + version: 0.13 + description: Agent service provides remote command execution, remote terminal, heartbeat service for services on edge and edgex SMA. +channels: + channels/{channel_id}/messages/req: + publish: + message: + $ref: '#/componenets/messages/agentMessage' +components: + messages: + agentMessage: + payload: + type: object + example: | + ### SenML + ```json + [{"bn":"1:", "n":"", "vs":""}] + ``` + #### Commands: exec, control, config, service, term \ No newline at end of file