Method | GET /IP address:port/<api_ver>/images |
Description | The request is used to upload images to a specific class. When sending data, use the content type multipart/form-data |
The following parameters must be specified in the request:
Parameter | Description |
---|---|
task_id | A unique identifier of the task (uid), to which the class belongs. It can be obtained using a task list query (see Get the list of tasks) |
class_name | The name of the class |
files | List of images to upload. Supported formats: .jpeg, .jpg, .png and .webp. Each file must be no larger than 5 MB and the total number of files must not exceed 5000 |
{ "message": "Done", "rejected_files": {} }
Response in case of error:
{ "error": "error description" }