List Prefetches

This API is used to list batch prefetches.

1. Request Definition

  • API URL
https://cdn-api.swiftfederation.com/v2.0/services/{serviceId}/prefetches
  • 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 prefetch
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 2024-08-26 07:42:13

results matching ""

    No results matching ""