Get Template Metadata

Get Template Metadata

GET https://{server_address}/api/v1/organization/template/metafields

Query Parameters

NameTypeDescription

templateId*

1

Organization template identifier. Should be a valid integer.

Headers

NameTypeDescription

Authorization*

Bearer {access_token}

[
   {
      "id": 1,
      "name": "Device Name",
      "type": "DeviceName",
      "description": "Device name",
      "hint": "Default metafield",
      "icon": "icon_name"
   },
   {
      "id": 2,
      "name": "Device Owner",
      "type": "DeviceOwner",
      "description": "Device Owner Email"
   },
   {
      "id": 3,
      "name": "Custom Meta Field",
      "type": "Text",
      "description": "Some custom meta field"
   }
]

Request examples:

# curl command example:
$ curl -H "Authorization: Bearer {accessToken}" https://fra1.blynk.cloud/api/v1/organization/template/metafields?templateId=1
$ curl -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization/template/metafields?templateId=1

Last updated