diff --git a/arkindex/schema.yml b/arkindex/schema.yml index 7370a341490f249f3cf8994e6367465ee490fc5c..9112846c4951c6a265f1f951532dbcf8043e55a2 100644 --- a/arkindex/schema.yml +++ b/arkindex/schema.yml @@ -16,7 +16,7 @@ info: name: Teklia url: https://www.teklia.com/ title: Arkindex API - version: 0.10.2 + version: 0.10.3-rc1 openapi: 3.0.2 paths: /api/v1/classification/bulk/: @@ -10556,6 +10556,57 @@ paths: security: [] tags: - elements + /api/v1/reindex/: + post: + description: Manually reindex elements, transcriptions and entities for search + APIs + operationId: Reindex + parameters: [] + requestBody: + content: + application/json: + schema: + properties: + corpus: + type: string + drop: + type: boolean + element: + type: string + elements: + default: true + type: boolean + entities: + default: true + type: boolean + transcriptions: + default: true + type: boolean + x-name: body + responses: + '200': + content: + application/json: + schema: + properties: + corpus: + type: string + drop: + type: boolean + element: + type: string + elements: + default: true + type: boolean + entities: + default: true + type: boolean + transcriptions: + default: true + type: boolean + description: '' + tags: + - management /api/v1/transcription/: post: description: Create a single transcription on a page @@ -12370,3 +12421,5 @@ tags: name: ml - name: entities - name: users +- description: Admin-only tools + name: management