You can call this operation to query the daily maximum number and remaining number of the URLs and directories that can be refreshed or prefetched.

You can refresh content of a specified URL to nodes by calling the RefreshDcdnObjectCaches operation and prefetch content from the origin to nodes by calling the PreloadDcdnObjectCaches operation.

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.

DirQuota String 100

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

DirRemain String 99

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

PreloadQuota String 100

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

PreloadRemain String 100

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

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

The ID of the request.

UrlQuota String 2000

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

UrlRemain String 1996

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

blockRemain String 100

The remaining number of URLs that can be blocked.

Examples

Sample requests

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

Sample success responses

XML format

<DescribeDcdnRefreshQuotaResponse>
    <DirQuota>100</DirQuota>
    <PreloadRemain>500</PreloadRemain>
    <DirRemain>100</DirRemain>
    <blockRemain>100</blockRemain>
    <RequestId>6F9961D6-EEAF-41A2-ABC4-2AE0A5570087</RequestId>
    <UrlQuota>2000</UrlQuota>
    <UrlRemain>2000</UrlRemain>
    <BlockQuota>100</BlockQuota>
    <PreloadQuota>500</PreloadQuota>
</DescribeDcdnRefreshQuotaResponse>

JSON format

{
    "DirQuota": "100",
    "PreloadRemain": "500",
    "DirRemain": "100",
    "blockRemain": "100",
    "RequestId": "6F9961D6-EEAF-41A2-ABC4-2AE0A5570087",
    "UrlQuota": "2000",
    "UrlRemain": "2000",
    "BlockQuota": "100",
    "PreloadQuota": "500"
}

Error code

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