You need to enable JavaScript to run this app.
导航

查询刷新预热任务Quota

最近更新时间2023.10.26 11:48:58

首次发布时间2022.03.02 11:29:34

API说明

API名称:GetPurgePrefetchTaskQuota 。
API域名:open.volcengineapi.com。
API描述:查询全站加速预热刷新任务Quota。

URI参数

公共参数

Action和Version需要放在请求 URL 后方参数中。

参数名称
是否必选
参数类型
参数说明
Action
String
API 名称,该参数的取值是 GetPurgePrefetchTaskQuota 。
Version
String
API 版本,该参数的取值是 2021-04-01 。

响应正文

参数名称
参数类型参数说明示例值
UrlQuotaInteger当日URL刷新全部配额。1000
DirQuotaInteger当日目录刷新全部配额。20
PrefetchUrlQuotaInteger当日URL预热全部配额。100
UrlRemainInteger当日URL刷新剩余配额。500
DirRemainInteger当日目录刷新剩余配额。10
PrefetchUrlRemainInteger当日URL预热剩余配额。50

调用示例

请求示例

GET https://open.volcengineapi.com/?Version=2021-04-01&Action=GetPurgePrefetchTaskQuota&<其他公共请求参数>

响应示例

{
"ResponseMetadata": {
		"RequestID":"02163521898659900000000000000000000ffff0a441605b6674d",
		"Action": "GetPurgePrefetchTaskQuota",
		"Version": "2021-04-01",
		"Service": "dcdn",
		"Region": "cn-south-1"
}
"Result": {
		"UrlQuota": 100, 
		"DirQuota": 100, 
		"UrlRemain": 50, 
		"DirRemain": 50,
		"PrefetchUrlQuota": 100, 
		"PrefetchUrlRemain": 100
}
}