Bandwidth Report Graph Data
Interval in analytics data; If the date range is today, it is automatically sent as 5m (5 minutes), for 1-7 days as 1h (1 hour), for 8-30 days as 2h (2 hours), for more than 8h (8 hours).
Parameters | Description | Type | Required |
---|---|---|---|
from | It is considered the starting point in a specific date range. | String | Yes |
to | It is considered the last point in a given date range. | String | Yes |
interval | Indicates the time range of the data to be retrieved. | String | No |
resources | It is used to see the data of a specific resource or all resources in the organization. Returns the total of the selected resources. If no resource is selected, it returns the total of all resources. | Array | No |
organization_uuid | The created organization in Medianova Cloud Panel unit ID value | String | Yes |
Payload
{
"organization_uuid": "****-****-****-****",
"from": "2023-12-13 00:00:00",
"to": "2023-12-13 16:20:00",
"resources": [
"test1",
"test2",
"test3",
"test4"
]
}
Response
{
"status": true,
"data": {
"progressive": [
{
"time": 1702414800000,
"traffic": 26029986028,
"traffic_format": "26,03 GB"
},
{
"time": 1702415100000,
"traffic": 29426732227,
"traffic_format": "29,43 GB"
},
{
"time": 1702415400000,
"traffic": 27055436298,
"traffic_format": "27,06 GB"
},
],
"streaming": []
}
}