Queries the maximum number and the remaining number of URLs and directories that can be refreshed or prefetched per day.

Note
  • You can call the RefreshDcdnObjectCaches operation to refresh content and call the PreloadDcdnObjectCaches operation to prefetch content.
  • You can call this operation up to 20 times per second.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDcdnRefreshQuota

The operation that you want to perform. Set the value to DescribeDcdnRefreshQuota.

Response parameters

Parameter Type Example Description
BlockQuota String 100

The maximum number of URLs that can be blocked.

RegexRemain String 100

The remaining number of URLs or directories that can be refreshed by using regular expressions each day.

BlockRemain String 100

The remaining number of URLs that can be blocked each day.

PreloadRemain String 500

The remaining number of URLs that can be prefetched each day.

RequestId String 42E0554B-80F4-4921-AED6-ACFB22CAAAD0

The ID of the request.

DirRemain String 100

The remaining number of directories that can be refreshed each day.

UrlRemain String 2000

The remaining number of URLs that can be refreshed each day.

DirQuota String 100

The maximum number of directories that can be refreshed each day.

UrlQuota String 2000

The maximum number of URLs that can be refreshed each day.

PreloadQuota String 500

The maximum number of URLs that can be prefetched each day.

RegexQuota String 100

The maximum number of URLs or directories that can be refreshed by using regular expressions each day.

Examples

Sample requests

http://dcdn.aliyuncs.com/?Action=DescribeDcdnRefreshQuota
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeDcdnRefreshQuotaResponse>
    <BlockQuota>100</BlockQuota>
    <RegexRemain>100</RegexRemain>
    <BlockRemain>100</BlockRemain>
    <PreloadRemain>500</PreloadRemain>
    <RequestId>42E0554B-80F4-4921-AED6-ACFB22CAAAD0</RequestId>
    <DirRemain>100</DirRemain>
    <UrlRemain>2000</UrlRemain>
    <DirQuota>100</DirQuota>
    <UrlQuota>2000</UrlQuota>
    <PreloadQuota>500</PreloadQuota>
    <RegexQuota>100</RegexQuota>
</DescribeDcdnRefreshQuotaResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "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"
}

Error codes

For a list of error codes, visit the API Error Center.