Upload a file containing labels definition.
Upload a file containing labels 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
- id integer
The ID of the label
- name string
The label's name.
[
{
"id": 1,
"name": "POS"
}
]
The uploaded file has an invalid format
User is not authenticated. This means token is either not present or invalid
User does not have the minimal required project role "MANAGER"
The project was not found
Something is wrong with the API.
Loading...