Path parameters
-
Yard Camera ID
Body
-
Camera Provider ID from /integrations endpoint
-
Identifier of the camera in the provider's context
-
Assigned Yard ID
-
direction Required
Assigned direction
-
attachment_types array[string]
Assigned AttachmentType List
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
.
PATCH
/api/camera/yard-cameras/{yardCameraId}
curl \
-X PATCH https://api-dev.gatego.io/api/camera/yard-cameras/{yardCameraId} \
-H "Content-Type: application/json" \
-d '{"integration_id":42,"integration_camera_id":"string","yard_id":4,"direction":"IN","attachment_types":["TRAILER_LEFT_PHOTO"]}'
Request examples
{
"integration_id": 42,
"integration_camera_id": "string",
"yard_id": 4,
"direction": "IN",
"attachment_types": [
"TRAILER_LEFT_PHOTO"
]
}
Response examples (200)
{
"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"
}
}
}
}
}