diff --git a/arkindex/schema.yml b/arkindex/schema.yml index 645a451a95da80d9edcce779ce328fc521e65883..c61670591bbcaab4e9cee56a0c88b5570a32f124 100644 --- a/arkindex/schema.yml +++ b/arkindex/schema.yml @@ -1621,7 +1621,7 @@ paths: - type - corpus tags: - - elements + - entities /api/v1/entity/link/: post: description: Create a new link between two entities with a role @@ -1664,7 +1664,7 @@ paths: - child - role tags: - - elements + - entities /api/v1/entity/search/: get: operationId: SearchEntities @@ -1699,7 +1699,7 @@ paths: - name - type tags: - - elements + - entities /api/v1/entity/{id}/: get: description: Get all information about entity @@ -1896,7 +1896,7 @@ paths: - parents security: [] tags: - - elements + - entities /api/v1/entity/{id}/elements/: get: description: Get all elements that have a link with the entity @@ -1954,7 +1954,7 @@ paths: - name security: [] tags: - - elements + - entities /api/v1/image/: post: description: Create an image on the Arkindex image server, ready for upload @@ -4696,6 +4696,51 @@ paths: - transcriptions tags: - ml + /api/v1/transcription/{id}/entity/: + post: + description: Link an existing Entity to a given transcription with its position + operationId: CreateTranscriptionEntity + parameters: + - description: '' + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + properties: + entity: + type: string + length: + type: integer + offset: + type: integer + required: + - entity + - offset + - length + x-name: body + responses: + '200': + content: + application/json: + schema: + properties: + entity: + type: string + length: + type: integer + offset: + type: integer + required: + - entity + - offset + - length + tags: + - entities /api/v1/user/: delete: description: Log out from the API @@ -5102,3 +5147,4 @@ tags: name: iiif - description: Machine Learning tools and results name: ml +- name: entities