Requested Media Partially Available
The REQUESTED_MEDIA_PARTIALLY_AVAILABLE event notifies subscribers that the system was able to access some, but not all, of the requested video duration.
**Event Name:**REQUESTED_MEDIA_PARTIALLY_AVAILABLE
**Enablement Package:**NA
Trigger Condition
- REQUESTED_MEDIA_PARTIALLY_AVAILABLE webhook event should be subscribed.
- The webhook is triggered when a portion (chunk) of the requested video available on the SD card for camera vendor 15 (Surfsight) becomes available in the Azuga system.
- The event is triggered when the request status is 6, indicating partial availability.
Example Payload
{
"messageType": "REQUESTED_MEDIA_PARTIALLY_AVAILABLE",
"generatedAt": 1732610579549,
"data": {
"requestedMediaId": "b4d1d65d-abd1-11ef-a071-911ba6139748",
"requestedMediaName": "25Nov2024_0101303489_Request:1",
"safetyCamDeviceId": "1457c06c-0533-11ee-b8c4-ad3118588c1b",
"safetyCamSerialNum": "357660102175957",
"startTime": "2024-11-25 08:36:00",
"endTime": "2024-11-25 08:41:00",
"requestorId": "8a9388a8-84d3-0640-0184-ed783d831309",
"requestorName": "AFM Admin",
"vehicleId": "ddb312c8-3063-11ee-924d-9f6b04f645e8",
"vehicleName": "0101303489",
"groupId": "c337220c-8672-11e2-9b71-55cae3166848",
"groupName": "Default Group",
"driverId": "8a94907b-918c-6f64-0191-927652f42c68",
"driverName": "Event Driver",
"customerId": 1059,
"vendorId": 15,
"recordStatus": 1,
"chunksAvailable": [
{
"cameraId": 2,
"start": "2024-11-25 08:36:00",
"end": "2024-11-25 08:41:00"
},
{
"cameraId": 1,
"start": "2024-11-25 08:36:00",
"end": "2024-11-25 08:41:00"
}
],
"status": 6,
"mediaLinks": [
{
"cameraId": 2,
"start": "2024-11-25 08:36:00",
"end": "2024-11-25 08:41:00",
"link": "https://azuga-video-telematics-prod.s3.us-west-2.amazonaws.com/357660102175957/5384790922/1732523910/2.mp4",
"thumbnailLink": "https://azuga-video-telematics-prod.s3.us-west-2.amazonaws.com/357660102175957/5384790922/1732523910/2.jpg",
"mediaType": 1
}
]
}
}Reference
Field | Description |
|---|---|
messageType* | Type of Message(Identifies the type of event being sent). |
generatedAt* | The exact time the webhook was created, in epoch milliseconds (UTC). |
data* | Contains all the details related to the media request. |
requestedMediaId* | A unique identifier for the specific video request.
Example: |
requestedMediaName* | A readable name for the requested video. Usually includes date/time. |
safetyCamDeviceId* | Internal Azuga ID for the camera device. Example: 1457c06c-0533-11ee-b8c4-ad3118588c1b |
safetyCamSerialNum* | The serial number printed on the camera device.
Example: |
startTime* | Start timestamp of the requested footage (UTC – format: YYYY-MM-DD HH:MM:SS).
Example: |
endTime* | End timestamp of the requested footage (UTC – format: YYYY-MM-DD HH:MM:SS).
Example: |
requestorId* | Unique ID of the user who requested the video.
Example: |
requestorName* | Name of the person who initiated the request. |
vehicleId* | The Azuga ID of the vehicle from which the footage was requested.
Example: |
vehicleName* | Display name / fleet number of the vehicle. |
groupId* | ID of the group the vehicle belongs to. |
groupName* | Name of the group the vehicle belongs to.
Example: |
driverId* | Driver ID associated at the time of event.
Example: |
driverName* | Driver name associated at the time of event.
Example: |
customerId* | Unique ID of the customer account.
Example: |
vendorId* | Camera vendor ID 15 (15 = Surfsight camera). |
recordStatus* | Indicates record availability status. |
chunksAvailable* | List of all available video segments (chunks) from each camera stream. |
mediaLinks* | Download links for the video files and thumbnails. |
cameraId* | Camera stream ID.
Example: |
start* | Video chunk start time (UTC – YYYY-MM-DD HH:MM:SS).
Example: |
end* | Video chunk end time (UTC – YYYY-MM-DD HH:MM:SS). |
link* | Direct downloadable video file link (URL).
Example: |
thumbnailLink* | Downloadable image thumbnail (URL).
Example: |
mediaType* | Type of media.
Example: |
Updated 4 days ago
