Files
bifrost/docs/openapi/paths/management/cache.yaml
Beyhan Oğur 880f412e2c first commit
2026-04-26 21:52:23 +03:00

52 lines
1.5 KiB
YAML

clear-by-request-id:
delete:
operationId: clearCacheByRequestId
summary: Clear cache by request ID
description: Clears cache entries associated with a specific request ID.
tags:
- Cache
parameters:
- name: requestId
in: path
required: true
description: Request ID to clear cache for
schema:
type: string
responses:
'200':
description: Cache cleared successfully
content:
application/json:
schema:
$ref: '../../schemas/management/cache.yaml#/ClearCacheResponse'
'400':
$ref: '../../openapi.yaml#/components/responses/BadRequest'
'500':
$ref: '../../openapi.yaml#/components/responses/InternalError'
clear-by-cache-key:
delete:
operationId: clearCacheByCacheKey
summary: Clear cache by cache key
description: Clears a cache entry by its direct cache key.
tags:
- Cache
parameters:
- name: cacheKey
in: path
required: true
description: Cache key to clear
schema:
type: string
responses:
'200':
description: Cache cleared successfully
content:
application/json:
schema:
$ref: '../../schemas/management/cache.yaml#/ClearCacheResponse'
'400':
$ref: '../../openapi.yaml#/components/responses/BadRequest'
'500':
$ref: '../../openapi.yaml#/components/responses/InternalError'