Skip to content

API Details: Datavolume History

Rainer Simon edited this page Jan 25, 2013 · 2 revisions

API-Details: Datavolume History

/api/timeline/datavolume

Returns the datavolume history timeseries (MB downloaded vs. time).

Parameters:

maxpoints the maximum number of datapoints the timeseries should be resampled to

Example: /api/timeline/datavolume?maxpoints=800

Response Fields

x the X-coordinate of the timeseries: UNIX timestamp
y the Y-coordinate of the timeseries: datavolume in Bytes

Example Response
[
   {"x":1345791900,"y":626740262},
   {"x":1345792140,"y":737386482},
   {"x":1345792380,"y":484473649},
   {"x":1345792620,"y":578296381},
   {"x":1345792860,"y":534995147},
   {"x":1345793100,"y":637405163},
   {"x":1345793340,"y":969506480},
   {"x":1345793580,"y":878766592},
   {"x":1345793820,"y":791115285}
]