Retrieves channel info
GEThttps://apis.<domain>/iot/channels/:chanId
Authorization: http
name: bearerTokentype: httpscheme: bearerin: headerdescription: Authorization Header: `Authorization: Bearer <user_token>`
Retrieves channel info.
Authorization Action:
core:channels:get
Request
Path Parameters
chanId uuidrequired
Unique channel identifier.
Responses
- 200
- 400
- 401
- 404
- 422
- 500
Data retrieved.
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
Unique channel identifier generated by the service.
name string
Free-form channel name.
metadata object
Arbitrary, object-encoded channel's data.
{
"id": "string",
"name": "string",
"metadata": {}
}
Bad request.
Unauthorized.
Channel not found.
Unprocessable entity.
Unexpected server error.
- application/json
- Schema
Schema
- string byte
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://apis.<domain>/iot/channels/:chanId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'