Get Template Datastreams

Get Template Datastreams

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

Query Parameters

NameTypeDescription

templateId*

1

Organization template identifier. Should be a valid integer.

Headers

NameTypeDescription

Authorization*

Bearer {access_token}

[
   {
      "id": 1,
      "label": "DS 1",
      "alias": "DS 1",
      "units": "Celsius",
      "type": "INT",
      "defaultValue": 5,
      "pin": 1,
      "pinType": "VIRTUAL"
   }
]

Request examples:

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

Last updated