Analytics Traffic Report
Method | URL |
---|---|
POST | https://cloud.medianova.com/api/v1/overview_report/historical |
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 |
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 |
type | This parameter “traffic, hit, requests, hit_ratio, bandwidth, gpu_transaction, storage “ values. | String | Yes |
Payload
{
"organization_uuid": "bb9e4f4e-0971-42c0-ad78-ebdbef63f409",
"from": "2024-03-14 00:00:00",
"to": "2024-03-14 17:15:00",
"resources": [
"*****.*****.com",
"*****.****.com"
],
"type": "traffic"
}
Response
{
"status": true,
"data": {
"selected_time": {
"from": "2024-03-13 21:00:00",
"to": "2024-03-14 14:15:00",
"traffic": 277633566,
"traffic_formatted": "0,28 GB"
},
"previous": {
"from": "2024-03-12 21:00:00",
"to": "2024-03-13 14:15:00",
"traffic": 310043825,
"traffic_formatted": "0,31 GB"
},
"indicate": "-10.45",
"last_month": {
"from": "2024-02-01 00:00:00",
"to": "2024-02-29 23:59:59",
"traffic": 2085710422,
"traffic_formatted": "2,09 GB"
},
"this_month": {
"from": "2024-03-01 00:00:00",
"to": "2024-03-14 14:15:00",
"traffic": 6155550333,
"traffic_formatted": "6,16 GB"
}
}
}