Previous page Images  Preview images Next page

On the page:


General info

Method

GET /IP address:port/<api_ver>/images

DescriptionThe 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:

ParameterDescription
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

Sample response

{
    "message": "Done",
    "rejected_files": {}
}

Response in case of error:

{ "error": "error description" }


  • No labels