Control Panel — API documentation

HTTP Utilization

CDN usage Read-only

The HTTP Utilization object shows daily bandwidth and request usage.

Descriptions

summary_id Integer Autogenerated

Unique identifier for this object.

Sample value:N/A

summary_type Integer Autogenerated

Sample value:

date String Autogenerated

The date the summarized data represents.

Sample value:2019-12-23

server Integer Autogenerated

Unique identifier of the server.

Sample value:

vhost Integer Autogenerated

Unique identifier of the Vhost

Sample value:

bytes_total Integer Synthetic

Number of bytes used.

Sample value:

requests_total Integer Synthetic

Number of requests.

Sample value:

start_date String

The date the summarized data should start at.

Sample value:2019-12-23

end_date String

The date the summarized data should end at.

Sample value:2019-12-30

fields Integer

Filter the response with the specified fields

Enum:date, server, user, dataset

Sample value:stream

summary_id Integer Autogenerated

Unique identifier for this object.

Sample value:N/A

summary_type Integer Autogenerated

Sample value:

date String Autogenerated

The date the summarized data represents.

Sample value:2019-12-23

vhost Integer Autogenerated

Unique identifier of the Vhost

Sample value:

None
None

Examples

Get the HTTP Utilization object.

Example URL

https://api.scaleengine.net/dev/v2/http_utilizations/

Example cURL

curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/dev/v2/http_utilizations/

Example response data

{
    "data": [
        {
            "date": "2021-10-19",
            "bytes": "185080787782"
        },
        {
            "date": "2021-10-20",
            "bytes": "150280475393"
        },
        {
            "date": "2021-10-21",
            "bytes": "141589065698"
        },
        {
            "date": "2021-10-22",
            "bytes": "27894963079"
        },
        {
            "date": "2021-10-23",
            "bytes": "4716902807"
        }
}

This object is read-only and cannot be created

This object is read-only and cannot be updated

This object is read-only and cannot be deleted

Errors

ACCESS_VIOLATION

You do not have access to modify this field