Query parameters
-
attachmentTypes
array[string] AttachmentType constant, or a list of AttachmentType constants separated by commas. This is an "or" list: Cameras that are associated with at least one of the attachment types in this list will be included in the response (as long as they match the other request parameters)
Values are
TRAILER_LEFT_PHOTO
,TRAILER_RIGHT_PHOTO
,TRAILER_INSIDE_PHOTO
,TRAILER_SEAL_PHOTO
,TRAILER_ISSUE_PHOTO
,REAR_TRAILER_PHOTO
,LICENSE_PLATE_PHOTO
,WASH_OUT_SLIP_PHOTO
,BILL_OF_LADING_PHOTO
,TRUCK_PHOTO
,TRUCK_ISSUE_PHOTO
,TRUCK_CARRIER_INFO_PHOTO
,TIRE_PHOTO
,GUEST_VEHICLE_PHOTO
,DRIVER_PHOTO
,DRIVER_LICENSE_PHOTO
,VISITOR_PERSON_PHOTO
, orEXTRA_FILE
. -
direction
string Direction
Values are
IN
orOUT
. -
hasAttachmentType
boolean When present: include only cameras that has been associated (when true), or has not been associated (when false) to at least one AttachmentType
-
yard_id
integer(int64) Yard ID
curl \
--request GET 'https://api-dev.gatego.io/api/camera/yard-cameras'
[
{
"id": 42,
"yard_id": 42,
"attachment_types": [
"TRAILER_LEFT_PHOTO"
],
"integration_camera": {
"integration_id": 42,
"integration_camera_id": "string",
"name": "string",
"camera_params": {
"thumbnail_url": {
"use_proxy": true,
"base": "https://api.verkada.com/cameras/v1/footage/thumbnails",
"method": "GET",
"request_params": {
"resolution": "low-res"
},
"headers": {
"x-api-key": "da12cb332"
}
},
"thumbnail_from_stream_url": {
"use_proxy": true,
"base": "https://api.verkada.com/cameras/v1/footage/thumbnails",
"method": "GET",
"request_params": {
"resolution": "low-res"
},
"headers": {
"x-api-key": "da12cb332"
}
}
}
}
}
]