404
edits
No edit summary |
|||
Line 63: | Line 63: | ||
== API hierarchy == | == API hierarchy == | ||
The Allegro REST API has the fixed URI <code>API/stats</code> for statistics. To see all possible subtrees of a specific request, use the '''OPTIONS''' request instead of ''GET'''. It can be set with the parameter <code>-X OPTIONS</code> for curl. | |||
<code><pre> | |||
$ curl --silent -k -u 'admin:allegro' 'https://allegro-mm-XXXX/API/stats' -X OPTIONS | |||
{ | |||
"subResources": [ | |||
"modules", | |||
"reports", | |||
"incidentReporting", | |||
"time", | |||
"ringBufferReplay", | |||
"pcap", | |||
"reset", | |||
"interfacesError", | |||
"interfaces", | |||
"load", | |||
"processing" | |||
] | |||
} | |||
</pre> | |||
</code> | |||
== API parameters == | == API parameters == |
edits