Get a Signal in a Unit
GET/metadata/scopes/:scope/units/:unit/signals/:signal
Get a Signal
in a Unit
by its ID
.
Request
Path Parameters
scope stringrequired
The Scope
to get the Signal
in.
unit stringrequired
The Unit
to get the Signal
in.
signal stringrequired
The Signal
to get.
Responses
- 200
- 400
- 401
- 403
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
name stringrequired
physicalUnit string
description string
longDescription string
dataType stringrequired
Possible values: [float
, boolean
, json
, string
]
{
"name": "string",
"physicalUnit": "string",
"description": "string",
"longDescription": "string",
"dataType": "float"
}
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"
}
Device not yet provisioned
- application/json
- Schema
- Example (from schema)
Schema
status stringrequired
Possible values: [Device not yet provisioned
]
{
"status": "Device not yet provisioned"
}
404
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD3
oneOf
Signal not found
status stringrequired
Possible values: [Signal not found
]
Scope not found
status stringrequired
Possible values: [Scope not found
]
Unit not found
status stringrequired
Possible values: [Unit not found
]
{}
Loading...