Conduit V4

Conduit V4 provides a minimal set of data, best used for applications that require values for updates where device data is already known.

SECURITY NOTE: Conduit V4 uses GET method so request data forms part of the URL. This means your security token could potentially be stored in browser history or in web server logs.

Parameters

See section for HTTP parameters.

HTTP Method

GET Request

Base URL

https://api.alphax.cloud/conduitv4

Example Usage – Default

https://api.alphax.cloud/conduitv4?token=xxxxxxxxxxxxxxxxxxxxxx

Returns all data from last hour that the user has access to.

Common Example Usage – DeviceID and Channel

https://api.alphax.cloud/conduitv4?id=21xxx42dd37b&ch=4&token=xxxxxxxxxxxxxxxxxxxxxx

Returns last one hour data for Channel: 1 of Device: 21xxx42dd37b

{
  "channel":4,
  "networkID":"21xxx42dd37b",
  "value":0.278,
  "timestamp":"1537406384″
}

Example Usage – Date Range

https://api.alphax.cloud/conduitv4?token=xxxxxxxxxxxxxxxxxxxxxx&fcdt=1539792000&tcdt=1539840604

Returns all data values from date 1539792000 to 1539840604 for all devices the token has access to.

Last updated