Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial proposed new routes #3388

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add: cache clearing
nichwall committed Oct 12, 2024
commit af1f4e7971a8cf3d309835160b172a35e75f228c
36 changes: 36 additions & 0 deletions docs/newRoot.yaml
Original file line number Diff line number Diff line change
@@ -6031,3 +6031,39 @@ paths:
example: 11111
'400':
$ref: '#/components/responses/badRequest'
/api/cache/purge-all:
post:
operationId: purgeAllCache
summary: Purge all cache
description: Purge all cache. This endpoint purges all cache entries under `metadata/cache`.
tags:
- Cache
responses:
'200':
description: OK
content:
text/plain:
schema:
type: string
example: 'Server cache purged.'
'403':
$ref: '#/components/responses/forbidden'
/api/cache/purge-items:
post:
operationId: purgeCacheItems
summary: Purge cache items
description: Purge cache items. This endpoint purges cache entries by key under `metadata/cache/items`.
tags:
- Cache
responses:
'200':
description: OK
content:
text/plain:
schema:
type: string
example: 'Item cache purged.'
'400':
$ref: '#/components/responses/badRequest'
'403':
$ref: '#/components/responses/forbidden'