REST API description: Difference between revisions

m
Line 34: Line 34:
==== Traffic counters ====
==== Traffic counters ====


Traffic counters are represented as an JSON array with at least 4 lines. The structure is as follows:
Traffic counters are represented as a JSON array with at least 4 lines. The structure is as follows:
* line 1: received packets
* line 1: received packets.
* line 2: received bytes
* line 2: received bytes.
* line 3: transmitted packets
* line 3: transmitted packets.
* line 4: transmitted bytes
* line 4: transmitted bytes.
* other lines are module specific
* other lines are module specific.


Following counters are supported:
The following counters are supported:
* interval: Values of the selected time interval. If no interval is specified, this is similar to lastSecond.
* interval: Values of the selected time interval. If no interval is specified, this is similar to lastSecond.
* allTime: Values since start of the Allegro Network Multimeter.
* allTime: Values since start of the Allegro Network Multimeter.
inactive
369

edits