Retrieves config info by id
GET/iot/edge/configs/:configId
Retrieves config info by id.
Authorization Action:
core:config:get
Request
Path Parameters
configId uuidrequired
Unique Config identifier. It's the ID of the corresponding Thing.
Responses
- 200
- 401
- 404
- 500
Data retrieved.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
connhex_id uuid
Corresponding Connhex Thing ID.
connhex_key uuid
Corresponding Connhex Thing key.
connhex_channels object[]
id uuid
Channel unique identifier.
name string
Name of the Channel.
metadata object
Custom metadata related to the Channel.
init_id stringrequired
init ID (MAC address or some unique identifier).
init_key stringrequired
init key.
content string
Free-form custom configuration.
state State
Possible values: [0
, 1
]
{
"connhex_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"connhex_key": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"connhex_channels": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"metadata": {}
}
],
"init_id": "string",
"init_key": "string",
"content": "string",
"state": 0
}
Unauthorized.
Config not found.
Unexpected server error.
Loading...