feat(core): add DELETE endpoint for distinct cache
parent
19ed26a37c
commit
be7fcd94b1
|
|
@ -1157,6 +1157,34 @@ paths:
|
|||
Bad request.
|
||||
|
||||
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:
|
||||
post:
|
||||
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 |
Loading…
Reference in New Issue