v9

latestSwagger 2.02026-07-135252167.7 KB
ImageApi

Add the provided images to the set of training images.

This API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files. If all images are successful created, 200(OK) status code will be returned. Otherwise, 207 (Multi-Status) status code will be returned and detail status for each image will be listed in the response payload.

post/projects/{projectId}/images

Path parameters

projectIdstring uuid required

The project id.

Query parameters

tagIdsstring[]

The tags ids with which to tag each image. Limited to 20.

Response

OK

isBatchSuccessfulboolean

True if all of the images in the batch were created successfully, otherwise false.

Example response

{
  "images": [
    {
      "image": {
        "id": "00000000-0000-0000-0000-000000000000"
      }
    }
  ]
}