Update Data Connection
PUT/api/v1/live-data/connection
Request
- application/json
Body
Body
- MOD1
- MOD2
Array [
]
Array [
]
Name of the Data Cnnection
ID of the Workspace
Possible values: > 0
1000signals
object
required
Array of Signal ID's or Search JSON's
oneOf
Array of signal ID's
integer
Possible values: > 0
Signal search JSON
Name of the Workspace
Workspace 1Name of the Asset
Asset 1Name of the Division
Division 1Name of the Unit
Unit 1Name of the Signal
Signal 1Name to give the returned signal. Defaults to the signal ID.
Possible values: <= 127 characters
Serialization format of the data
Possible values: [json, protobuf]
Responses
- 200
- 400
- 401
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
ID of the Data Connection
Possible values: > 0
1000Name of the Data Connection
ID of the Workspace
Possible values: > 0
1000URL of the broker to connect to
mqtts://live.data.apps.nor.techtopics
object[]
required
Array of topics to subscribe to
ID of the Signal
Possible values: > 0
1000Name of the topic exposing the Signal data
{
"id": 1000,
"name": "string",
"workspaceId": 1000,
"brokerUrl": "mqtts://live.data.apps.nor.tech",
"topics": [
{
"signalId": 1000,
"name": "string"
}
]
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [Validation Error]
errors
object[]
required
Possible values: [body, query, path, headers]
{
"status": "Validation Error",
"errors": [
{
"error": "string",
"location": "body"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [Unauthorized]
{
"status": "Unauthorized"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
oneOf
Signals not found
Possible values: [Signals not found]
Data Connection not found
Possible values: [Data Connection not found]
{}