Skip to main content

Adds new config

POST 

https://apis.<domain>/iot/edge/configs

Authorization: http

name: bearerTokentype: httpscheme: bearerin: headerdescription: Authorization Header: `Authorization: Bearer <user_token>`

Adds new config to the list of config owned by user identified using the provided access token.

Authorization Action:

core:config:create

Request

Body

required

JSON-formatted document describing the new config.

    init_id stringrequired

    init ID (MAC address or some unique identifier).

    init_key stringrequired

    init key.

    thing_id string

    ID of the corresponding Connhex Thing.

    channels string[]
    content string

Responses

Config created.

Response Headers
  • Location any
curl -L -X POST 'https://apis.<domain>/iot/edge/configs' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"init_id": "string",
"init_key": "string",
"thing_id": "string",
"channels": [
"string"
],
"content": "string"
}'
Request Collapse all
Base URL
https://apis.<domain>
Auth
Body required
{
"init_id": "string",
"init_key": "string",
"thing_id": "string",
"channels": [
"string"
],
"content": "string"
}