Get Prefetch

This API is used to get url prefetch information with service id and prefetch id.

1. Request Definition

  • API URL
https://cdn-api.swiftfederation.com/v1.1/services/{serviceId}/prefetches/{prefetchId}
  • Request Method
GET
  • Request Header

Refer to HTTP Request Headers

  • Request Body
No request body for this API.


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
Field Type Description
id string UUID of prefetch URL request.
serviceId long Service id of prefetch url, it should be domain or file download serivce id.
url string Full prefetch URL request.
created string Time of prefetch url request created in iso8601 format.
status string Shows the progress of prefetch. Could be "COMPLETE"/"FAILED"/"PENDING".
  • Response Body Example
{
    "id": "uuid123",
    "serviceId": 10000,
    "url": "https://cdn.example1.com/resources/load.js?v=1.2.0",
    "created": "2018-01-31T10:30:57Z",
    "status": "COMPLETE"
}
© 2019 Conversant Solutions Pte Ltd. All rights reserved.            Updated 2019-05-23 03:46:25

results matching ""

    No results matching ""