Home/Support/Support Forum/What is the format for an http request for a complete dataset from the device cloud?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

What is the format for an http request for a complete dataset from the device cloud?

0 votes
I'm a plant physiologist (and Digi newbie) learning how to use the device cloud to manage and monitor agricultural sensors.

I want to download datasets from the device cloud for a number of ConnectPort X4 gateways.

I believe I found the general format for a data request here: http://www.digi.com/wiki/developer/index.php/IDigi_Data_Streams#DataPoint

Which is: http://my.idigi.com/ws/DataPoint/[<stream-path>].

But I can figure out the proper form for the final "stream-path" that identifies each gateway dataset.

This is my best guess, but it doesn't work: http://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-gateEUI6-4address.

What would be the correct format to request a full data history for this gateway?
asked Jul 4, 2013 in Data Services by NWVineyards New to the Community (0 points)
edited Jul 3, 2013 by NWVineyards

Please log in or register to answer this question.

1 Answer

0 votes
Hi,

Data stream paths are listen in Device Cloud. See the data services tab and data streams. There you can see the full paths for each data set.

For example:

https://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00000000-00000000/room1/temperature

If you want to retrieve more than 1000 data points, you need to use pageCursor parameter.

To request all data streams available in your device cloud account:

https://my.idigi.com/ws/DataStream/

To request all data streams available for specific device:

https://my.idigi.co.uk/ws/DataStream/dia/channel/00000000-00000000-00000000-00000000/


Juha
answered Jul 4, 2013 by juha.autioniemi New to the Community (23 points)
datastream returns only one value when expecting a bunch.
...