Skip to main content

Traffic Report Graph All 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

resources

It is used to see the data of a specific resource or all resources in the organization.

Array

Yes

interval

Indicates the time range of the data to be retrieved.

String

No

organization_uuid

The created organization in Medianova Cloud Panel unit ID value

String

Yes

Payload

CODE
{
    "organization_uuid": "***-****-****-****",
    "from": "2023-12-13 00:00:00",
    "to": "2023-12-13 16:25:00",
    "resources": [
        "api-test.mncdn.com",
    ],
    "interval": "1d"
}

Response

CODE
{
    "status": true,
    "data": {
        "progressive": [
            {
                "time": 1702339200000,
                "traffic": 568555608911,
                "traffic_formatted": "568,56 GB"
            },
            {
                "time": 1702425600000,
                "traffic": 2428922004854,
                "traffic_formatted": "2,43 TB"
            }
        ],
        "streaming": []
    }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.