Skip to main content

Traffic 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

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

Yes

organization_uuid

The created organization in Medianova Cloud Panel unit ID value

String

Yes

Payload

CODE
{
    "organization_uuid": "***-****-****-*****",
    "from": "2023-12-06 17:00:15",
    "to": "2023-12-13 17:00:15",
    "resources": [
        "test.mncdn.com",
    ]
}

Payload

CODE
{
    "status": true,
    "data": {
        "progressive": [
            {
                "time": 1701874800000,
                "traffic": 297872072559,
                "traffic_formatted": "297.87 GB"
            },
            {
                "time": 1702238400000,
                "traffic": 340719968650,
                "traffic_formatted": "340.72 GB"
            },
            {
                "time": 1702242000000,
                "traffic": 288005102128,
                "traffic_formatted": "288.01 GB"
            },
            {
                "time": 1702260000000,
                "traffic": 24949169377,
                "traffic_formatted": "24.95 GB"
            },
        ],
        "streaming": []
    }
}
JavaScript errors detected

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

If this problem persists, please contact our support.