Gateway Uplink WAN compression stats

GET {{base_url}}/monitoring/v1/gateways/:serial/uplinks/wan_compression_stats?uplink_id=<string>&interval=<string>&from_timestamp=<integer>&to_timestamp=<integer>

Get Gateway WAN compression stats over a time period.

Request Params

KeyDatatypeRequiredDescription
uplink_idstringFilter by uplink ID.
intervalstringFilter by interval (5minutes or 1hour or 1day or 1week).
from_timestampstringNeed information from this timestamp. Timestamp is epoch in seconds. Default is current timestamp minus 3 hours
to_timestampstringNeed information to this timestamp. Timestamp is epoch in seconds. Default is current timestamp

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;count&quot;:&quot;\u003cinteger\u003e&quot;,&quot;interval&quot;:&quot;\u003cstring\u003e&quot;,&quot;samples&quot;:[{&quot;compressed_data_bytes&quot;:&quot;\u003cnumber\u003e&quot;,&quot;saved_data_bytes&quot;:&quot;\u003cnumber\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cnumber\u003e&quot;,&quot;uncompressed_data_bytes&quot;:&quot;\u003cnumber\u003e&quot;},{&quot;compressed_data_bytes&quot;:&quot;\u003cnumber\u003e&quot;,&quot;saved_data_bytes&quot;:&quot;\u003cnumber\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cnumber\u003e&quot;,&quot;uncompressed_data_bytes&quot;:&quot;\u003cnumber\u003e&quot;}]}