Skip to content
Snippets Groups Projects
Commit c9feabb4 authored by Valentin Rigal's avatar Valentin Rigal Committed by Erwan Rouchet
Browse files

ListTranscriptionsEntities endpoint

parent 5d382ce2
No related branches found
No related tags found
No related merge requests found
Pipeline #28160 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment