Skip to main content

Retrieves config info by id

GET 

https://apis.<domain>/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

Data retrieved.

Schema
    connhex_idstring<uuid>

    Corresponding Connhex Thing ID.

    connhex_keystring<uuid>

    Corresponding Connhex Thing key.

    connhex_channels object[]
  • Array [
  • idstring<uuid>

    Channel unique identifier.

    namestring

    Name of the Channel.

    metadataobject

    Custom metadata related to the Channel.

  • ]
  • init_idstringrequired

    MAC address or other identifier.

    init_keystringrequired

    init key.

    contentstring

    Free-form custom configuration.

    stateState (integer)

    Possible values: [0, 1]

Authorization: http

name: bearerTokentype: httpscheme: bearerin: headerdescription: Authorization Header: `Authorization: Bearer <user_token>`
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://apis.<domain>/iot/edge/configs/:configId");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://apis.<domain>
Auth
Parameters
— pathrequired