List Efficient Purges

This API is used to list efficient purges of a service.

1. Request Definition

  • API URL
https://cdn-api.swiftfederation.com/v2.0/services/{serviceId}/efficient_purges
  • Request Method
GET
  • Request Header

Refer to HTTP Request Headers

  • Request Body Example


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
Field Type Description
BatchInfo[] List of BatchInfo with id, created, completedUrls and totalUrls.

|BatchInfo Definition|

Field Type Description
id int the id of batch efficient purge
created string the creation time
completedUrls int the number of completed urls
totalUrls int the total number of urls
  • Response Body Example
[ 
    {
        "id": 2,
        "completedUrls": 2,
        "created": "2020-01-06T13:26:51.127Z",
        "totalUrls": 2
    },
    {
        "id": 3,
        "completedUrls": 2,
        "created": "2020-01-06T14:26:51.127Z",
        "totalUrls": 3
    }
]
           Updated 2020-11-04 05:59:05

results matching ""

    No results matching ""