diff --git a/arkindex/schema.yml b/arkindex/schema.yml index c61670591bbcaab4e9cee56a0c88b5570a32f124..184f680693605628058b1a48d26c21224c899ed0 100644 --- a/arkindex/schema.yml +++ b/arkindex/schema.yml @@ -4696,6 +4696,56 @@ paths: - transcriptions tags: - ml + /api/v1/transcription/{id}/entities/: + get: + description: List existing entities linked to a specific transcription + operationId: ListTranscriptionEntities + parameters: + - description: '' + in: path + name: id + required: true + schema: + type: string + - description: A page number within the paginated result set. + in: query + name: page + required: false + schema: + type: integer + responses: + '200': + content: + application/json: + schema: + properties: + entity: + properties: + id: + type: string + name: + type: string + type: + enum: + - person + - location + - subject + - organization + - misc + required: + - name + - type + type: object + length: + type: integer + offset: + type: integer + required: + - entity + - offset + - length + tags: + - entities /api/v1/transcription/{id}/entity/: post: description: Link an existing Entity to a given transcription with its position