Add a tag to a segment
Add a tag to a segment
Path Parameters
- project_id integer required
ID of the project
- annotation_id integer required
ID of the labeling session
- document_id integer required
ID of the document
- segment_id integer required
ID of the segment
Responses
- 200
- 401
- 403
- 404
- 409
- 500
The Tag has been added to the segment.
- application/json
- Schema
- Example (from schema)
Schema
- class string
The class's name.
- label string
The label's name.
{
"class": "Comfort",
"label": "POS"
}
User is not authenticated. This means token is either not present or invalid
User is read-only or does not have the minimal required project role ANNOTATOR
The labeling session, the document, the segment or the project was not found
Invalid action. Check the returned error for more information.
Something is wrong with the API.
Loading...