Get Datastream Value

Get Datastream value

GET https://{server_address}/external/api/get?token={token}&{pin}

{% swagger-response status="400" description="Could not find a device token or Wrong pin format" %}

{"error":{"message":"Invalid token."}}

or

{"error":{"message":"Wrong pin format."}}

You can get the Device auth token in Device info.

Get Datastream value by Datastream ID

GET https://{server_address}/external/api/get?token={token}&dataStreamId={id}

{% swagger-response status="400" description="Could not find a device token or Typo in dataStreamID or Requested dataStream doesn't exist in the product ESP32 QA" %}

{"error":{"message":"Invalid token."}}

or

{"error":{"message":"Wrong pin format."}}

or

{"error":{"message":"Requested dataStream doesn't exist in the product ESP32 QA"}}

Last updated