Call DescribeDcdnRefreshQuota to query the daily limits and remaining quotas for URL refreshes, URL prefetches, and folder refreshes.
Operation description
The refresh and prefetch API operations include RefreshDcdnObjectCaches and PreloadDcdnObjectCaches.
A single user can make up to 20 calls per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnRefreshQuota |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| BlockQuota |
string |
The daily quota for blocked URLs. |
100 |
| RegexRemain |
string |
The remaining number of refreshes based on regular expressions for the day. |
100 |
| BlockRemain |
string |
The remaining number of URLs that can be blocked for the day. |
100 |
| PreloadRemain |
string |
The remaining number of URLs that can be prefetched for the day. |
500 |
| RequestId |
string |
The request ID. |
42E0554B-80F4-4921-AED6-ACFB22CAAAD0 |
| DirRemain |
string |
The remaining number of folders that can be refreshed for the day. |
100 |
| UrlRemain |
string |
The remaining number of URLs that can be refreshed for the day. |
2000 |
| DirQuota |
string |
The daily quota for folder refreshes. |
100 |
| UrlQuota |
string |
The daily quota for URL refreshes. |
2000 |
| PreloadQuota |
string |
The daily quota for URL prefetches. |
500 |
| RegexQuota |
string |
The daily quota for refreshes based on regular expressions. |
100 |
| IgnoreParamsQuota |
string |
The daily quota for refreshes that ignore URL parameters. |
100 |
| IgnoreParamsRemain |
string |
The remaining number of refreshes that ignore URL parameters for the day. |
10 |
Examples
Success response
JSON format
{
"BlockQuota": "100",
"RegexRemain": "100",
"BlockRemain": "100",
"PreloadRemain": "500",
"RequestId": "42E0554B-80F4-4921-AED6-ACFB22CAAAD0",
"DirRemain": "100",
"UrlRemain": "2000",
"DirQuota": "100",
"UrlQuota": "2000",
"PreloadQuota": "500",
"RegexQuota": "100",
"IgnoreParamsQuota": "100",
"IgnoreParamsRemain": "10"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.