DescribeRefreshQuota

Last Updated: Apr 04, 2018

Description

  • The maximum number of times of refreshing (including pushing) URLs and directories.

  • The remaining number of times of refreshing (including pushing) URLs and directories on the current day.

Restrictions:

Refresh and pushing interfaces include RefreshObjectCaches and PushObjectCache.

Request parameters

Parameters Type Required Example values Description
Action String Yes DescribeRefreshQuota

The name of this interface. Value: DescribeRefreshQuota

Return parameters

Parameters Type Example values Description
RequestId String 42E0554B-80F4-4921-AED6-ACFB22CAAAD0

The request Id.

UrlQuota String 2000

Maximum number of times of refreshing URLs.

DirQuota String 100

Maximum number of times of refreshing directories.

UrlRemain String 1996

Remaining number of times of refreshing URLs on the current day.

DirRemain String 99

Remaining number of times of refreshing directories on the current day

PreloadQuota String 500

The maximum number of times of refreshing on the current day.

PreloadRemain String 400

The remaining number of times of refreshing on the current day.

BlockQuota String 300

The maximum number of times of block.

blockRemain String 200

The remaining number of times of block.

Example

Request example

  1. http://cdn.aliyuncs.com?Action=DescribeRefreshQuota&<Public request parameter>

Normal return example

JSON format

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

Exception return example

JSON format

  1. {
  2. "Code":"InternalError",
  3. "HostId":"cdn.aliyuncs.com",
  4. "Message":"The request processing has failed due to some unknown error.",
  5. "RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
  6. }

Error code

For more information, see Error code of this product.

Thank you! We've received your feedback.