From fd7c5c8503e67d73a0f3c7550f00682ea18bd407 Mon Sep 17 00:00:00 2001 From: manonBlanco <blanco@teklia.com> Date: Thu, 14 Nov 2019 15:46:57 +0100 Subject: [PATCH] add post and delete --- arkindex/schema.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arkindex/schema.yml b/arkindex/schema.yml index d1a239e..e13e9d0 100644 --- a/arkindex/schema.yml +++ b/arkindex/schema.yml @@ -3418,6 +3418,15 @@ paths: tags: - search /api/v1/elements/selection/: + delete: + description: Remove a specific element or delete any selection + operationId: RemoveSelection + parameters: [] + responses: + '204': + description: '' + tags: + - elements get: description: List all elements selected operationId: ListSelection @@ -3543,6 +3552,26 @@ paths: description: '' tags: - elements + post: + description: Add a specific element + operationId: AddSelection + parameters: [] + requestBody: + content: + application/json: + schema: + properties: + id: + format: uuid + type: string + required: + - id + x-name: body + responses: + '200': + description: '' + tags: + - elements /api/v1/elements/{id}/: get: description: List all parents and children of a single element -- GitLab