Mark a segment as corrected.
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
- application/json
Request Body required
- name string required
Possible values: [
ANNOTATED
]
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The segment has been corrected.
- application/json
- Schema
- Example (from schema)
Schema
segment object
name stringPossible values: [
ANNOTATED
]The status.
created date-timedocument_id integerThe ID of the document.
segment_id integerThe ID of the segment.
annotation_id integerThe ID of the labeling session.
- predicted_score integer
The projected new score
- progress integer
The progress of the session
{
"segment": {
"name": "ANNOTATED",
"created": "2023-11-02",
"document_id": 187,
"segment_id": 3010,
"annotation_id": 1
},
"predicted_score": 0,
"progress": 98
}
The body sent is invalid. Check the error message for more details
User is not authenticated. This means token is either not present or invalid
User does not have the minimal required project role "ANNOTATOR"
The correction session, the document, the segment or the project was not found
Something is wrong with the API.
Loading...