Skip to main content

Create Data Connection

POST 

/api/v1/live-data/connection

Request

Body

Body

    name stringrequired

    Name of the Data Cnnection

    workspaceId integerrequired

    ID of the Workspace

    Possible values: > 0

    Example: 1000

    signals

    object

    required

    Array of Signal ID's or Search JSON's

    oneOf

    Signal search JSON

  • Array [

  • workspace stringrequired

    Name of the Workspace

    Example: Workspace 1
    asset stringrequired

    Name of the Asset

    Example: Asset 1
    division stringrequired

    Name of the Division

    Example: Division 1
    unit stringrequired

    Name of the Unit

    Example: Unit 1
    signal stringrequired

    Name of the Signal

    Example: Signal 1
  • ]

  • format stringrequired

    Serialization format of the data

    Possible values: [json, protobuf]

Responses

Success

Schema

    id integerrequired

    ID of the Data Connection

    Possible values: > 0

    Example: 1000
    name stringrequired

    Name of the Data Connection

    workspaceId integerrequired

    ID of the Workspace

    Possible values: > 0

    Example: 1000
    brokerUrl urirequired

    URL of the broker to connect to

    Example: mqtts://live.data.apps.nor.tech

    topics

    object[]

    required

    Array of topics to subscribe to

  • Array [

  • signalId integerrequired

    ID of the Signal

    Possible values: > 0

    Example: 1000
    name stringrequired

    Name of the topic exposing the Signal data

  • ]

Loading...