Update a tag
Update a tag.
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
- 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
- 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 does not have the minimal required project role VIEWER
The labeling session, the document, the segment, the tag or the project was not found
Something is wrong with the API.
Loading...