Skip to main content

Status Report Graph Data Status Code

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

status_code

Values it can take 2xx, 3xx, 4xx, 5xx.

 Integer

 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": "***-****-*****-****", 
    “resources”: [“04iRvod”, “bngRW4vod” …]
    "from": "2022-07-07 13:00:00",
    "to": "2023-07-09 13:00:00"
}

Payload

CODE
{
    "status": true,
    "data": {
        "500": [
            {
                "time": 1701874800000,
                "hit": 40517
            },
            {
                "time": 1701878400000,
                "hit": 40465
            },
        ],
        "5xx": [
            {
                "time": 1701874800000,
                "hit": 152
            },
            {
                "time": 1702468800000,
                "hit": 151
            }
        ]
    }
}
JavaScript errors detected

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

If this problem persists, please contact our support.