Get Cache Refresh Records¶
POST /prod-api/cdn/layer7/cache/getCacheRecordList
Retrieve cache refresh records
Body request parameters
{
"type": "2",
"pageSize": 10,
"pageNum": 1,
"search": "",
"searchHeader": {},
"params": {
"beginTime": "2023-08-14 00:00:00",
"endTime": "2023-08-21 23:59:59"
}
}
Request Parameters¶
Name | Location | Type | Required | Chinese Name | Description |
---|---|---|---|---|---|
Authorization | header | string | Yes | none | |
body | body | L7CacheRecordVO | No | L7CacheRecordVO | none |
Response Example
Success
{
"total": 6,
"rows": [
{
"id": 53,
"value": "https://zb.demo.com/tcpt.hk6",
"ctime": 1685950268,
"total": 1,
"success": 1
}
],
"code": 200,
"msg": "Query successful"
}
201 Response
Response Results¶
Status Code | Status Meaning | Description | Data Model |
---|---|---|---|
200 | [OK] | Success | 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 |
---|---|---|---|---|---|
» total | integer | true | none | Total count | none |
» rows | [object] | true | none | none | |
»» id | integer | true | none | Unique value | none |
»» value | string | true | none | Value | none |
»» ctime | integer | true | none | Refresh time | none |
»» total | integer | true | none | Count | none |
»» success | integer | true | none | Success count | none |
» code | integer | true | none | none | |
» msg | string | true | none | none |
Data Model¶
L7CacheRecordVO
{
"pageNum": 0,
"pageSize": 0,
"params": {},
"search": "string",
"searchHeader": {},
"type": "string",
"userId": 0
}
L7CacheRecordVO
Properties¶
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
pageNum | integer(int32) | true | none | Current page number | none |
pageSize | integer(int32) | true | none | Items per page | none |
params | object | true | none | Time selection | params:{ beginTime: "2024-01-16 00:00:00" endTime: "2024-01-16 00:00:00" } |
search | string | false | none | none | |
searchHeader | object | false | Filter | none | |
type | string | true | none | Type | 1:URL preload 2:URL refresh 3:Directory refresh |
userId | integer(int64) | false | none | none |