[
{
"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"
}
]
{
"error": {
"message": "Template is not found or you don't have access to it."
}
}
# 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