Skip to content

Refresh Cache

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

Body Request Parameters

{
  "objectType": "File",
  "objectPath": "https://demo.123.com/"
}

Request Parameters

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

Response Example

OK

{
  "msg": "success",
  "code": 200
}

201 Response

{}

Response Results

Status Code Status Meaning Description Data Model
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 Model

DCDNRefreshObjectCacheVO

{
  "objectPath": "string",
  "objectType": "string"
}

DCDNRefreshObjectCacheVO

Properties

Name Type Required Constraints Chinese Name Description
objectPath string true none URL none
objectType string true none Operation Type File:URL
Directory:Directory
Regex:Regex