Video asset status
Gumlet delivers this notification with HTTP POST and a JSON body to the webhook URL you configured. The x-gumlet-token header is the secret token stored on that webhook, or an empty string when none is stored. A response status from 200 through 299 is recorded as success. Any other status, a timeout, or a connection error is recorded as retrying. Gumlet waits up to 25 seconds for the response and follows up to 5 redirects.
Sent when a video asset changes status and the webhook trigger list contains that event, or contains status. Delivery is limited to webhooks whose video workspace list includes the asset workspace. An empty workspace list matches every video workspace in the organization.
Events:
video.status.created— asset was createdvideo.status.downloaded— source file was downloaded for processingvideo.status.stream_ready— a single rendition is available to stream, immediately after uploadvideo.status.optimized— asset was optimizedvideo.status.ready— asset is ready to embedvideo.status.repackaged— a subtitle or audio stream was addedvideo.status.errored— processing failed.outputis omitted anderroris included when the asset has onevideo.status.deleted— asset was deleted.outputis omitted
Headers
- Type: stringx
-gumlet -token requiredSecret token configured on the webhook. Compare it with the token you stored when creating the webhook. The value is an empty string when the webhook has no secret token.
Body·
Body posted for video.status.* events.
- Type: stringasset
_id requiredVideo asset id.
- Type: integercreated
_at requiredAsset creation time, in milliseconds since the Unix epoch.
- Properties: 11Type:inputrequired
- Type: stringstatusrequired
Current asset status.
outputis omitted when this isdeletedorerrored. - Type: stringenumtyperequired
Video status event that triggered this delivery.
values- video
.status .created - video
.status .downloaded - video
.status .optimized - video
.status .ready - video
.status .errored - video
.status .deleted - video
.status .repackaged - video
.status .stream _ready
- video
- Type: stringdescription
Asset description.
- Type:errorProperties: 2
Present when the asset status is
erroredand the asset has an error. - Type:outputProperties: 9
Omitted when the asset status is
deletedorerrored. Playback URLs usehttps://video.gumlet.io/{workspace_id}/{asset_id}/. - Type: array of stringtag
Tags stored on the asset.
- Type: stringtitle
Asset title.
- Type:warningProperties: 2
Included when
process_low_resolution_inputis enabled and the smaller frame dimension is below the minimum for the output format: 240 pixels forhls,dash, orabr, and 145 pixels formp4. Transformations such as resize, crop, pad, and overlay are not applied.
Responses
- 2
X X Acknowledge delivery. Any status from 200 through 299 is treated as success. Any other response is recorded as retrying.
{
"input": {
"source_url": "http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
"transformations": {
"format": "abr",
"resolution": [
"360p",
"480p",
"720p",
"1080p"
],
"thumbnail": [
"auto"
],
"thumbnail_format": "png",
"mp4_access": true
},
"profile_id": "646df1c9173a4a2fcac180b7",
"metadata": {
"headermeta": "metavalue"
},
"fps": 30,
"width": 1920,
"height": 1080,
"duration": 60.5,
"aspect_ratio": "16:9",
"size": 1048576
},
"output": {
"format": "abr",
"status_url": "https://api.gumlet.com/video/v1/status/65b168a6e99b77f116c0e488",
"playback_url": "https://video.gumlet.io/646df1c9173a4a2fcac180b4/65b168a6e99b77f116c0e488/main.m3u8",
"dash_playback_url": "https://video.gumlet.io/646df1c9173a4a2fcac180b4/65b168a6e99b77f116c0e488/main.mpd",
"thumbnail_url": [
"https://video.gumlet.io/646df1c9173a4a2fcac180b4/65b168a6e99b77f116c0e488/thumbnail-1-0.png"
],
"storage_bytes": 2097152,
"download_url": "https://video.gumlet.io/646df1c9173a4a2fcac180b4/65b168a6e99b77f116c0e488/download.mp4"
},
"type": "video.status.ready",
"status": "ready",
"asset_id": "65b168a6e99b77f116c0e488",
"created_at": 1706125479006,
"tag": [
"ball"
],
"title": "Example Title",
"description": "some description"
}

