Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-03-17 11:09:08
You can call this operation to query the maximum number of URLs and directories that you can refresh or prefetch, and the remaining number of URLs and directories you can refresh and prefetch on the current day.
RefreshCaches
and PreloadCaches
operations to refresh and prefetch content.The API request contains the specified directory /2016-09-01/content/GetRefreshOrPreloadQuota, common request headers, and operation-specific request parameters. For more information, see the sample request.
Parameter | Type | Description |
---|---|---|
RefreshUrlQuota | Long | The maximum number of file URLs that you can refresh. |
RefreshDirQuota | Long | The maximum number of directory URLs that you can refresh. |
PreloadUrlQuota | Long | The maximum number of URLs that you can prefetch. |
RefreshUrlSurplus | Long | The remaining number of file URLs that you can refresh on the current day. |
RefreshDirSurplus | Long | The remaining number of directory URLs that you can refresh on the current day. |
PreloadUrlSurplus | Long | The remaining number of URLs you can prefetch on the current day. |
Sample request
POST method:
POST /2016-09-01/content/GetRefreshOrPreloadQuota
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
X-Action: GetRefreshOrPreloadQuota
X-Version: 2016-09-01
{
}
Sample response
{
"RefreshUrlQuota": 555,
"RefreshDirQuota": 100,
"PreloadUrlQuota": 36,
"RefreshUrlSurplus": 55,
"RefreshDirSurplus": 55,
"PreloadUrlSurplus": 55
}
To help you quickly locate issues, Kingsoft Cloud CDN summarizes the error codes. For more information, see Usage notes.
Pure Mode