Change a tag.
Path Parameters
- project_id integer required
ID of the project
- correction_id integer required
ID of the correction session
- document_id integer required
ID of the document
- segment_id integer required
ID of the segment
- tag_id integer required
ID of the tag
- application/json
Request Body required
- class string
The class's name.
- label string
The label's name.
- text string
Annotated text
- span integer[]
Possible values:
>= 2
,<= 2
Responses
- 200
- 401
- 403
- 404
- 500
The Tag has been changed.
- application/json
- Schema
- Example (from schema)
Schema
segment object
Contains either a date, if segment is confirmed, or null
annotated date-timeWhen the segment was confirmed.
- predicted_score integer
The projected new score
- progress integer
The progress of the session
tag object
Representation of a tag for classlabel tasks
class stringThe class's name.
label stringThe label's name.
{
"segment": {
"annotated": "2023-11-02"
},
"predicted_score": 0,
"progress": 98,
"tag": {
"class": "Comfort",
"label": "POS"
}
}
User is not authenticated. This means token is either not present or invalid
User does not have the minimal required project role "VIEWER"
The correction session, the document, the segment, the tag or the project was not found
Something is wrong with the API.
Loading...