File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Returns the cache meta data and its count of last 24 hours.
39
39
``` json
40
40
{
41
41
"message" : " Cache data fetched successfully" ,
42
- "count " : " number" ,
42
+ "remainingCount " : " number" ,
43
43
"timeLastCleared" : " <ISO 8601 timestamp>"
44
44
}
45
45
```
@@ -76,14 +76,14 @@ Purges the cloudflare cache of a page
76
76
user: "<USERNAME>" // optional - only super user has authority to pass this
77
77
JSON
78
78
- **Headers**
79
- X-Auth-Key: `<CLOUDFLARE_X_AUTH_KEY>`
79
+ X-Auth-Key: `<CLOUDFLARE_X_AUTH_KEY>`
80
80
X-Auth-Email: `<CLOUDFLARE_X_AUTH_EMAIL>`
81
81
- **Cookie**
82
82
rds-session: `<JWT>`
83
83
84
- - **Data**
84
+ - **Data**
85
85
files: `<FILES>`
86
- - **API Used**
86
+ - **API Used**
87
87
CLOUDFLARE_PURGE_CACHE_API: `https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/purge_cache`
88
88
89
89
- **Success Responses:**
You can’t perform that action at this time.
0 commit comments