Get Data Connection
GET/api/v1/live-data/connection
Get Data Connection
Request
Query Parameters
name stringrequired
workspaceId integerrequired
Possible values: > 0
ID
of the Workspace
Responses
- 200
- 400
- 401
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
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
signalId integerrequired
ID
of the Signal
Possible values: > 0
Example:
1000
name stringrequired
Name 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 [
]
status stringrequired
Possible values: [Validation Error
]
errors
object[]
required
error stringrequired
location stringrequired
Possible values: [body
, query
, path
, headers
]
{
"status": "Validation Error",
"errors": [
{
"error": "string",
"location": "body"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
status stringrequired
Possible values: [Unauthorized
]
{
"status": "Unauthorized"
}
Data Connection not found
- application/json
- Schema
- Example (from schema)
Schema
status stringrequired
Possible values: [Data Connection not found
]
{
"status": "Data Connection not found"
}
Loading...