Skip to content

Query Refresh Tasks

POST /prod-api/acdn/dcdn/refreshCacheRest/describeRefreshTasks

Body Request Parameters

{
  "pageSize": 10,
  "userId": null,
  "objectType": "file",
  "domainName": "demo.ruisuyun.com",
  "status": "Complete",
  "params": {},
  "pageNum": 1
}

Request Parameters

Name Location Type Required Chinese Name Description
Authorization header string Yes none
body body DCDNQueryRefreshListVO No DCDNQueryRefreshListVO none

Response Example

OK

{
  "msg": "Operation successful",
  "code": 200,
  "data": {
    "total": 1,
    "rows": [
      {
        "taskId": "17671439116",
        "status": "Complete",
        "process": "100%",
        "objectType": "file",
        "objectPath": "https://demo.123.com/",
        "description": "",
        "creationTime": "2024-01-25 18:03:38"
      }
    ]
  }
}

201 Response

{}

Response Results

Status Code Status Meaning Description Data Models
200 [OK] OK Inline
201 [Created] Created Inline
401 [Unauthorized] Unauthorized Inline
403 [Forbidden] Forbidden Inline
404 [Not Found] Not Found Inline

Response Data Structure

Status Code 200

Name Type Required Constraints Chinese Name Description
» additionalProperties object false none none
» data object true none none
»» taskId string true none Task ID none
»» objectPath string true none Content none
»» status string true none Status Complete:Completed
Refreshing:Refreshing
Failed:Refresh failed
»» objectType string true none Operation Type file:URL refresh
directory: Directory refresh
regex:Regex refresh
preload:URL preload
»» creationTime string true none Operation Time none
»» process string true none Progress none

Data Models

DCDNQueryRefreshListVO

{
  "domainName": "string",
  "objectType": "string",
  "pageNum": 0,
  "pageSize": 0,
  "params": {},
  "status": "string",
  "userId": 0
}

DCDNQueryRefreshListVO

Properties

Name Type Required Constraints Chinese Name Description
domainName string true none 域名 none
objectType string true none Operation Type file:URL refresh
directory: Directory refresh
regex:Regex refresh
preload:URL preload
pageNum integer(int32) true none Current Page none
pageSize integer(int32) true none Items Per Page none
params object false none none
status string true none Status Complete:Completed
Refreshing:Refreshing
Failed:Refresh failed
userId integer(int64) false none none