Get popular objects report

Posthttps://api.cdn77.com/v3/stats/objects/popular

Request body≥1 required

  • cdn_idsarray of integers
  • fromintegerrequired

    UNIX Timestamp

  • tointegerrequired

    UNIX Timestamp

Example of the request body
{
  "cdn_ids": [
    0
  ],
  "from": 1625097600,
  "to": 1625097600
}

Responses

Statistic returned.

Response parameters

  • categorystring
  • cdn_idinteger
  • bytes_missinteger
  • bytes_totalinteger
  • hitinteger
  • hit_rationumber
  • indexinteger
  • missinteger
  • requestsinteger
  • status_2xxinteger
  • status_3xxinteger
  • status_4xxinteger
  • status_5xxinteger
  • urlstring
Example of the response
[
  {
    "category": "image/png",
    "cdn_id": 1234567890,
    "bytes_miss": 25234,
    "bytes_total": 32112312,
    "hit": 32087078,
    "hit_ratio": 0.990913,
    "index": 1,
    "miss": 23,
    "requests": 31873,
    "status_2xx": 31560,
    "status_3xx": 0,
    "status_4xx": 312,
    "status_5xx": 1,
    "url": "https://cdn.example.com/image.png"
  }
]
Can’t find what you are looking for?