List of channels connected to a specified thing
GET/iot/things/:thingId/channels
Retrieves list of channels connected to a specified thing.
Authorization Action:
core:things:getChannels
Request
Path Parameters
thingId uuidrequired
Unique thing identifier.
Query Parameters
offset integer
Number of items to skip during retrieval.
limit integer
Possible values: >= 1
and <= 100
Default value: 10
Size of the subset to retrieve.
connected boolean
Default value: true
Connection state of the subset to retrieve.
Responses
- 200
- 400
- 401
- 404
- 422
- 500
Data retrieved.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
channels object[]
id stringrequired
Unique channel identifier generated by the service.
name string
Free-form channel name.
metadata object
Arbitrary, object-encoded channel's data.
total integer
Total number of items.
offset integer
Number of items to skip during retrieval.
limit integer
Maximum number of items to return in one page.
{
"channels": [
{
"id": "string",
"name": "string",
"metadata": {}
}
],
"total": 0,
"offset": 0,
"limit": 0
}
Bad request.
Unauthorized.
Thing not found.
Unprocessable entity.
Unexpected server error.
- application/json
- Schema
Schema
- string byte
Loading...