Get Datastream Values

Get Device Datastream Values

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

Query Parameters

NameTypeDescription

deviceId*

1

Device identifier. Should be a valid integer.

pins

v1,v2

Device pin values to include in response. All device pins by default.

Headers

NameTypeDescription

Authorization*

Bearer {access_token}

{
    "v1": 1,
    "v2": "Some value",
    "v3": 1.223
}

Request examples:

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

Last updated