v1
latestOpenAPI 3.1.02026-07-24650272.2 KBAPI Endpoints
Create Asset
An asset refers to a media content/video that is processed, stored, and delivered through Gumlet. This endpoint creates an asset allowing users to ingest media content into the Gumlet system for processing and delivery.
post/video/assets
Request body
Response
200
Example response
{
"asset_id": "65b168a6e99b77f116c0e488",
"created_at": 1706125479006,
"updated_at": 1706125479006,
"status": "pre-queued",
"tag": [
"ball"
],
"source_id": "646df1c9173a4a2fcac180b4",
"collection_id": "646df1c9173a4a2fcac180b4",
"input": {
"transformations": {
"format": "hls",
"resolution": [
"360p"
],
"audio_codec": [
"aac"
],
"video_codec": [
"libx264"
],
"thumbnail": [
"auto"
],
"thumbnail_format": "png"
},
"profile_id": "646df1c9173a4a2fcac180b7",
"title": "bipbopall",
"description": "some description",
"metadata": {
"headermeta": "metavalue"
},
"source_url": "http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
"call_to_actions": [
{
"start_time": 1,
"end_time": 90,
"text": "some test",
"url": "https://some-url.com",
"position_from_top": 11,
"position_from_right": 23,
"border_radius": 11,
"font_color": "#000001",
"background_color": "#ffffff",
"html_target": "_blank"
}
]
},
"output": {
"format": "hls",
"status_url": "https://api.gumlet.com/v1/video/assets/65b168a6e99b77f116c0e488",
"playback_url": "https://video.gumlet.io/646df1c9173a4a2fcac180b4/65b168a6e99b77f116c0e488/main.m3u8",
"thumbnail_url": [
"https://video.gumlet.io/646df1c9173a4a2fcac180b4/65b168a6e99b77f116c0e488/thumbnail-1-0.png?v=1706125479006"
]
},
"playlists": [
"6597acd5ed6f26a9c5ca9633"
]
}