![]() |
REST API
14
REST API for Luna Network HSMs
|
This resource allows to list the measurement statistics according to the duration entered in the query.
Users with the following role privileges can perform this command:
The measurement duration in seconds (1-99999).
Use: Required
JSON Schema:
Object type: string
The identifier of a network device.
Use: Required
JSON Schema:
Object type: string
Measurement statistics information for the given interface.
JSON Schema: Network Device MeasurementStats
Duration for measurement statistics is required.
Failed to return measurement statistics.
Specified interface does not exist.
GET https://1.2.3.4:8443/api/lunasa/network/devices/{deviceid}/measurementStats?duration=90 { }
{ "clientStatistics": [ { "1.2.3.4": { "avg": "58.98", "classId": "default", "max": "109.76", "min": "25.27" } }, { "5.6.7.8": { "avg": "58.92", "classId": "testClass", "max": "109.76", "min": "25.27" } } ] }