刷新缓存
POST /prod-api/acdn/dcdn/refreshCacheRest/refreshObjectCache
Body 请求参数
{
"objectType": "File",
"objectPath": "https://demo.123.com/"
}
请求参数
名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
---|---|---|---|---|---|
Authorization | header | string | 是 | none | |
body | body | DCDNRefreshObjectCacheVO | 否 | DCDNRefreshObjectCacheVO | none |
返回示例
OK
{
"msg": "success",
"code": 200
}
201 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | [OK] | OK | Inline |
201 | [Created] | Created | Inline |
401 | [Unauthorized] | Unauthorized | Inline |
403 | [Forbidden] | Forbidden | Inline |
404 | [Not Found] | Not Found | Inline |
返回数据结构
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» additionalProperties | object | false | none | none |
数据模型
DCDNRefreshObjectCacheVO
{
"objectPath": "string",
"objectType": "string"
}
DCDNRefreshObjectCacheVO
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
objectPath | string | true | none | URL | none |
objectType | string | true | none | 操作类型 | File:URL Directory:目录 Regex:正则 |