Docs
api
Cloud Delivery(UCDN)
GetUcdnDomainPrefetchRefreshState

Get domain prefetch refresh quota information - GetUcdnDomainPrefetchRefreshState

Overview

Get domain prefetch refresh quota information

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetUcdnDomainPrefetchRefreshState.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
DomainIdstringDomain ID, generated when creating an acceleration domain.Yes

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
SubmitPrefetchCountintNumber of Preheating SubmittedNo
SubmitRefreshFileintThe number of submitted files refreshedNo
SubmitRefreshDirintNumber of directory refreshes submittedNo
PrefetchQuotaintPreheat QuotaNo
RefreshFileQuotaintFile Refresh QuotaNo
RefreshDirQuotaintDirectory Refresh QuotaNo

Example

Request Example

https://api.dezai.com/?Action=GetUcdnDomainPrefetchRefreshState
&ProjectId=twkgisbl
&DomainId=scrkgmxx

Response Example

{
  "Action": "GetUcdnDomainPrefetchRefreshStateResponse",
  "PrefetchQuota": 6,
  "QuotaCount": 8,
  "RefreshDirQuota": 3,
  "RefreshFileQuota": 4,
  "RetCode": 0,
  "SubmitCount": 5,
  "SubmitRefreshDir": 9
}