Sends message to a communication channel
POST/iot/http/channels/:id/messages/:subtopic
Sends message to a communication channel.
Authorization Action:
core:channels:publish
Request
Path Parameters
id uuidrequired
Unique connectable's channel identifier.
subtopic string
Message subtopic.
Follow these instructions to target a specific custom service runnig on an edge device.
- application/json
Body
arrayrequired
Message to be sent.
- Array [
- ]
bn string
Base Name
bt double
Base Time
bu double
Base Unit
bv double
Base Value
n string
Name
u string
Unit
v double
Value
vs string
String Value
vb boolean
Boolean Value
vd string
Data Value
s double
Value Sum
t double
Time
Responses
- 202
- 400
- 401
- 500
Message is accepted for processing.
Bad request.
Unauthorized.
Unexpected server-side error occurred.
- application/json
- Schema
Schema
- string byte
Loading...