REST API description: Difference between revisions

Jump to navigation Jump to search
Line 216: Line 216:


Requests can be given a time interval. If present, the '''interval''' counters are adjusted to this interval.  The following GET parameters are necessary:
Requests can be given a time interval. If present, the '''interval''' counters are adjusted to this interval.  The following GET parameters are necessary:
* starttime, endtime: Start and end time of the interval. Format: seconds since 1970/01/01 UTC (Unix time, epoch). You can use <code>date +%s</code> on your machine to adjust to the best interval. Please consult the man page of date for more parameters.
* '''starttime''', '''endtime''': Start and end time of the interval. Format: seconds since 1970/01/01 UTC (Unix time, epoch). You can use <code>date +%s</code> on your machine to adjust to the best interval. Please consult the man page of date for more parameters.
* timespan: Duration of the interval selection in seconds.
* timespan: Duration of the interval selection in seconds.


404

edits

Navigation menu