Skip to content

Commit 142116a

Browse files
authored
update count key in the response (#171)
1 parent 0ef4fa8 commit 142116a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cloudflare-cache/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Returns the cache meta data and its count of last 24 hours.
3939
```json
4040
{
4141
"message": "Cache data fetched successfully",
42-
"count": "number",
42+
"remainingCount": "number",
4343
"timeLastCleared": "<ISO 8601 timestamp>"
4444
}
4545
```
@@ -76,14 +76,14 @@ Purges the cloudflare cache of a page
7676
user: "<USERNAME>" // optional - only super user has authority to pass this
7777
JSON
7878
- **Headers**
79-
X-Auth-Key: `<CLOUDFLARE_X_AUTH_KEY>`
79+
X-Auth-Key: `<CLOUDFLARE_X_AUTH_KEY>`
8080
X-Auth-Email: `<CLOUDFLARE_X_AUTH_EMAIL>`
8181
- **Cookie**
8282
rds-session: `<JWT>`
8383

84-
- **Data**
84+
- **Data**
8585
files: `<FILES>`
86-
- **API Used**
86+
- **API Used**
8787
CLOUDFLARE_PURGE_CACHE_API: `https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE_ID}/purge_cache`
8888

8989
- **Success Responses:**

0 commit comments

Comments
 (0)