All Products
Search
Document Center

DescribeDcdnRefreshQuota

Last Updated: Mar 01, 2019

Description

You can call this operation to obtain the remaining URLs and directories that can be refreshed and pushed for the day.

To refresh content of a specified URL to nodes, you can call the RefreshDcdnObjectCaches operation. To push content from the origin to nodes, you can call the PreloadDcdnObjectCaches operation.

Request parameters

Name Type Required Description
Action String Yes The operation that you want to perform. Set the value to DescribeDcdnRefreshQuota.

Response parameters

Name Type Description
RequestId String The ID of the request.
UrlQuota String The maximum number of URLs that can be refreshed each day.
DirQuota String The maximum number of paths that can be refreshed each day.
UrlRemain String The remaining number of URLs that can be refreshed for the day.
DirRemain String The remaining number of directories that can be refreshed for the day.
PreloadQuota String The maximum number of URLs that can be pushed each day.
PreloadRemain String The remaining number of URLs that can be pushed for the day.

Examples

Sample requests

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

Sample responses

JSON format

  1. {
  2. "DirQuota": "100",
  3. "DirRemain": "99",
  4. "RequestId": "42E0554B-80F4-4921-AED6-ACFB22CAAAD0",
  5. "UrlQuota": "2000",
  6. "UrlRemain": "1996",
  7. "PreloadQuota": "500",
  8. "PreloadRemain": "400"
  9. }

Error codes

Error code Error message HTTP status code Description
Throttling Request was denied due to request throttling. 503 The error message returned when the request is denied due to throttling.