Get Prefetch (Deprecated)
This API is used to get url prefetch information with service id and prefetch id.
Note: This API is deprecated, please use v2.0 Get Prefetch api instead of it.
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"
}