Restore & PurgeZone Purge History

Zone Purge History

List cache purge and prefetch operation history for a HTTP push zone. Used by the Manage Cache "History" tab, which paginates 10 records per page and renders each row's operation type, file count, completion state, and created date.

curl -X GET "https://api.5centscdn.com/v2/zones/http/push/42/purge?page=1" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "result": "success",
  "total": 42,
  "data": [
    {
      "id": "8f3a1c2d",
      "serviceid": 67890,
      "zone": "12345",
      "type": "url",
      "list": [
        "/videos/file.mp4"
      ],
      "meta": "",
      "errors": "",
      "created_at": "1717236000",
      "completed_at": "1717236060",
      "updated_at": "1717236060"
    }
  ]
}
GET
/zones/http/push/{zoneid}/purge
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

zoneidinteger
Required

Zone ID

Example:
42

Query Parameters

Responses

resultstring

Status of the API response.

totalinteger

Total number of purge/prefetch history records for this zone, used by the History tab to drive pagination.

dataarray

Array of purge/prefetch operation history records, most recent first.