Statistics Interface
Fetch statistics
GET/api/v6.2.5.9/hubs/{hub}/stats/metrics
| Query parameters | Prototype:
|
| Request headers | None |
| Request body | None |
| Response headers | Prototype:
|
| Response body (JSON) | Prototype:
|
| Status codes | ✅ 200 OK ❌ 400 Bad Request |
| Required permissions | read access on hub |
Export statistics to a file
POST/api/v6.2.5.9/hubs/{hub}/stats/metrics/export
| Query parameters | None |
| Request headers | None |
| Request body (JSON) | Prototype:
|
| Response headers | None |
| Response body (JSON) | Prototype:
|
| Status codes | ✅ 200 OK ❌ 400 Bad Request |
| Required permissions | read access on hub |
| Events | Creates no events. |
Fetch oldest stats history time for time granularity and scope
GET/api/v6.2.5.9/hubs/{hub}/stats/oldest
| Query parameters | Prototype:
|
| Request headers | None |
| Request body | None |
| Response headers | None |
| Response body (JSON) | Prototype:
|
| Status codes | ✅ 200 OK ❌ 400 Bad Request |
| Required permissions | read access on hub |