feat(core): add DELETE endpoint for distinct cache

docs/6292-api-distinct-cache-delete
meelahme 2025-10-15 11:47:30 -07:00
parent 19ed26a37c
commit be7fcd94b1
6 changed files with 28 additions and 0 deletions

View File

@ -1157,6 +1157,34 @@ paths:
Bad request. Bad request.
The server responds with status `400` if the request would overwrite an existing cache with a different configuration. The server responds with status `400` if the request would overwrite an existing cache with a different configuration.
delete:
operationId: DeleteConfigureDistinctCache
summary: Delete distinct cache
description: Deletes a distinct cache.
parameters:
- $ref: '#/components/parameters/db'
- name: table
in: query
required: true
schema:
type: string
- name: name
in: query
required: true
schema:
type: string
responses:
'200':
description: Success. The distinct cache has been deleted.
'400':
description: Bad request.
'401':
$ref: '#/components/responses/Unauthorized'
'404':
description: Cache not found.
tags:
- Cache data
- Table
/api/v3/configure/last_cache: /api/v3/configure/last_cache:
post: post:
operationId: PostConfigureLastCache operationId: PostConfigureLastCache

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB