Created
May 29, 2013 20:54
-
-
Save justinwinslow/5673769 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Timeseries format | |
{ | |
device_legend: [device1, device2], | |
data_legend: [[dataType1, dataType2], [device2_dataType1]], | |
data: [ | |
{ | |
x: timestamp, | |
y: [ | |
[ | |
dataType1_value, | |
dataType2_value | |
], | |
[ | |
dataType1_value | |
] | |
] | |
} | |
] | |
} | |
Could be query string or post body | |
/api/timelinedata?devices=[device1, device2]&dataTypes=[[dataType1, dataType2], [device2_dataType1]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment