nexo/services/core/api/v4/source/bleve.yaml

28 lines
834 B
YAML

/api/v4/bleve/purge_indexes:
post:
tags:
- bleve
summary: Purge all Bleve indexes
description: >
Deletes all Bleve indexes and their contents. After calling this
endpoint, it is
necessary to schedule a new Bleve indexing job to repopulate the indexes.
__Minimum server version__: 5.24
##### Permissions
Must have `sysconsole_write_experimental` permission.
operationId: PurgeBleveIndexes
responses:
"200":
description: Indexes purged successfully.
content:
application/json:
schema:
$ref: "#/components/schemas/StatusOK"
"500":
$ref: "#/components/responses/InternalServerError"
"501":
$ref: "#/components/responses/NotImplemented"