Get Device Metadata

Get Device Metadata

GET https://{server_address}/api/v1/organization/device/metafield

Query Parameters

NameTypeDescription

deviceId*

1

Device identifier. Should be a valid integer.

Headers

NameTypeDescription

Authorization*

Bearer {access_token}

[
    {
        "id": 1,
        "name": "Device Name",
        "value": "My awesome device"
    },
    {
        "id": 2,
        "name": "Device Owner",
        "value": "user@example.com"
    }   
]

Request examples:

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

Last updated