Vehicle Images

Uploading images of a vehicle.

Uploads images of a vehicle that will be ingested and processed. The total size of the main vehicle image and all of the context images must not exceed 9 MB. File size is calculated in binary mb (MB), where 1 MB is 1048576 bytes.

post/devices/{deviceId}/images

Request

  • Base URL
    https://api.flocksafety.com/api/v3
  • URL
    https://api.flocksafety.com/api/v3/devices/{deviceId}/images
  • Auth
    HTTP bearer

Path parameters

deviceIdstring required

The ID of the device that this image was captured by.

Request body multipart/form-data

imagestring binary required

The image to ingest and process into FlockOS.

contextImagesstring[]

Additional context images to be ingested. These images will not be processed but will be viewable alongside the main image

capturedAtstring date-time

The timestamp (in RFC3339 UTC format) indicating when the image was captured.

latitudenumber float

The latitude of the location where the images were captured.

longitudenumber float

The longitude of the location where the images were captured.

Example request

{
  "capturedAt": "2024-07-26T17:31:51.000Z",
  "latitude": 40.783979987434215,
  "longitude": -73.97539595767532
}

Response

The image was successfully ingested.

Changes

No recorded changes to this operation across all 1 revision of this API.