Skip to main content

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.

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

Message is accepted for processing.

Loading...