List Data Connections
GET/api/v1/live-data/connections
List Data Connections
Request
Query Parameters
size integer
Possible values: > 0
and <= 100
Default value:
100
nextToken string
sortBy string
Possible values: [name
, workspaceId
, signals
, format
]
sortOrder string
Possible values: [asc
, desc
]
Default value:
asc
workspaceId integerrequired
Possible values: > 0
ID
of the Workspace
Responses
- 200
- 400
- 401
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
size integerrequired
Possible values: > 0
Example:
100
data
object[]
required
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
next
object
token stringrequired
Example:
eyJjdXJzb3IiOjEsInRva2VuIjoiIn0K
href urirequired
Example:
/connections/api/v1?size=10&sortBy=name&sortOrder=asc&nextToken=eyJjdXJzb3IiOjEsInRva2VuIjoiIn0K
{
"size": 100,
"data": [
{
"id": 1000,
"name": "string",
"workspaceId": 1000,
"brokerUrl": "mqtts://live.data.apps.nor.tech",
"topics": [
{
"signalId": 1000,
"name": "string"
}
]
}
],
"next": {
"token": "eyJjdXJzb3IiOjEsInRva2VuIjoiIn0K",
"href": "/connections/api/v1?size=10&sortBy=name&sortOrder=asc&nextToken=eyJjdXJzb3IiOjEsInRva2VuIjoiIn0K"
}
}
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"
}
Loading...