Upload a file containing classes definition.
Upload a file containing classes definition.
Path Parameters
- project_id integer required
ID of the project
- multipart/form-data
Request Body required
- file binary required
file to upload
Responses
- 200
- 400
- 401
- 403
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema array
- name string
The class's name.
- example string
A usage example.
- description string
The class's description to help the annotator.
- id integer
The ID of the label
[
{
"name": "Comfort",
"example": "This is a good example",
"description": "This is a good description",
"id": 1
}
]
The uploaded file has an invalid format
User is not authenticated. This means token is either not present or invalid
User is read-only does not have the minimal required project role "MANAGER"
The project was not found
Something is wrong with the API.
Loading...