Skip to main content
PATCH
/
data
/
images
/
{id}
Update image
curl --request PATCH \
  --url https://acusight.io/api/data/images/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "annotation_status": "<string>",
  "split": "<string>",
  "split_locked": true
}
'
{
  "data": {
    "annotation_status": "<string>",
    "annotations": [
      {
        "class_value": "<string>",
        "confidence": 123,
        "created_at": "<string>",
        "geometry": [
          123
        ],
        "height": 123,
        "id": 123,
        "image_id": 123,
        "source": "<string>",
        "type": "<string>",
        "updated_at": "<string>",
        "width": 123,
        "x_center": 123,
        "y_center": 123,
        "z_order": 123
      }
    ],
    "batch_id": 123,
    "batch_name": "<string>",
    "created_at": "<string>",
    "device_id": "<string>",
    "filename": "<string>",
    "height": 123,
    "id": 123,
    "image_url": "<string>",
    "project_name": "<string>",
    "split": "<string>",
    "split_locked": true,
    "storage_key": "<string>",
    "updated_at": "<string>",
    "version_name": "<string>",
    "width": 123
  },
  "error": {
    "code": "<string>",
    "details": "<string>",
    "message": "<string>"
  },
  "meta": {
    "count": 123,
    "limit": 123,
    "offset": 123,
    "total": 123
  },
  "success": true
}

Authorizations

Authorization
string
header
required

JWT access token. Paste the token only; the Bearer prefix is added automatically.

Path Parameters

id
integer
required

Image ID

Body

application/json

Image update payload

annotation_status
string
split
string
split_locked
boolean

Response

Updated image

data
object
error
object
meta
object
success
boolean