Gumlet
App · 20 actions
Manage Gumlet video folders and read video assets, playlists and processing information.
Actions
| Action | What it does |
|---|---|
| Create video folder | Create video folder. |
| Delete video folder | Delete video folder. |
| Get encoding profile | Get encoding profile. |
| Get image source | Get image source. |
| Get live stream history | Get live stream history. |
| Get live stream status | Get live stream status. |
| Get video asset | Get video asset. |
| Get video folder | Get video folder. |
| Get video workspace | Get video workspace. |
| List encoding profiles | List encoding profiles. |
| List image sources | List image sources. |
| List live streams | List live streams. |
| List live workspaces | List live workspaces. |
| List video assets | List video assets. |
| List video folders | List video folders. |
| List video playlists | List video playlists. |
| List video workspaces | List video workspaces. |
| List videos in playlist | List videos in playlist. |
| Search videos, folders and playlists | Search videos, folders and playlists. |
| Update video folder | Update video folder. |
Create video folder
Create video folder.
Inputs
- Workspace
workspace_idtextRequired - Video workspace id.
- Name
nametextRequired - Folder name.
- Parent ID
parent_idtext - Parent folder id. Send null or omit it to create a root-level folder.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"asset_count": 1,
"created_at": "example",
"depth": 1,
"id": "example",
"name": "example",
"parent_id": "example",
"path": [
"example"
],
"path_names": [
"example"
],
"subdirectory_count": 1,
"updated_at": "example",
"video_source_id": "example",
"workspace_id": "example"
}
}Delete video folder
Delete video folder.
Inputs
- Workspace
workspace_idtextRequired - Video workspace id.
- Folder ID
folder_idtextRequired - Folder id.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"message": "example"
}
}Get encoding profile
Get encoding profile.
Inputs
- Profile
profile_idtextRequired - Profile id of the profile which needs to be retrieved.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"created_at": 1,
"name": "example",
"profile_id": "example",
"transformations": {
"audio_codec": [
"example"
],
"format": "example",
"generate_chapters": true,
"mp4_access": true,
"resolution": "example",
"thumbnail": [
"example"
],
"thumbnail_format": "example",
"video_codec": [
"example"
]
},
"updated_at": 1
}
}Get image source
Get image source.
Inputs
- Image source
image_source_idtextRequired - Image source id. You can get it on Gumlet dashboard or using list sources API endpoint.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"aws": {
"access_key": "example",
"base_path": "example",
"bucket_name": "example",
"bucket_region": "example",
"endpoint": "example",
"secret": "example"
},
"azure": {
"azure_account_name": "example",
"azure_container_name": "example",
"azure_path": "example",
"azure_shared_token": "example"
},
"backblaze": {
"access_key": "example",
"base_path": "example",
"bucket_name": "example",
"bucket_region": "example",
"endpoint": "example",
"secret": "example"
},
"browser_cache_time": 1,
"canonical_url": true,
"cdn_cache_time": 1,
"cloudflare": {
"access_key": "example",
"account_id": "example",
"base_path": "example",
"bucket_name": "example",
"secret": "example"
},
"cloudinary": {
"cloud_name": "example",
"host_name": "example"
},
"created_at": "example",
"default_params": {},
"dostorage": {
"access_key": "example",
"base_path": "example",
"bucket_name": "example",
"bucket_region": "example",
"secret": "example"
},
"fallback_origins": [
{
"_id": "example",
"aws": {
"access_key": "example",
"base_path": "example",
"bucket_name": "example",
"bucket_region": "example",
"endpoint": "example",
"secret": "example"
},
"azure": {
"azure_account_name": "example",
"azure_container_name": "example",
"azure_path": "example",
"azure_shared_token": "example"
},
"backblaze": {
"access_key": "example",
"base_path": "example",
"bucket_name": "example",
"bucket_region": "example",
"endpoint": "example",
"secret": "example"
},
"cloudflare": {
"access_key": "example",
"account_id": "example",
"base_path": "example",
"bucket_name": "example",
"secret": "example"
},
"cloudinary": {
"cloud_name": "example",
"host_name": "example"
},
"conditions": [
{}
],
"dostorage": {
"access_key": "example",
"base_path": "example",
"bucket_name": "example",
"bucket_region": "example",
"secret": "example"
},
"gcs": {
"bucket_name": "example",
"service_account_key": "example"
},
"hetzner": {},
"imgix": {},
"linode": {
"access_key": "example",
"bucket_name": "example",
"bucket_region": "example",
"secret": "example"
},
"name": "example",
"proxy": {
"whitelisted_domains": "example"
},
"replace_operation": {
"from": "example",
"to": "example"
},
"type": "example",
"wasabi": {
"access_key": "example",
"base_path": "example",
"bucket_name": "example",
"bucket_region": "example",
"secret": "example"
},
"webfolder": {
"base_url": "example"
}
}
],
"gcs": {
"bucket_name": "example",
"service_account_key": "example"
},
"hetzner": {},
"id": "example",
"imgix": {},
"is_active": true,
"is_cloudfront": true,
"linode": {
"access_key": "example",
"bucket_name": "example",
"bucket_region": "example",
"secret": "example"
},
"namespace": "example",
"proxy": {
"whitelisted_domains": "example"
},
"request_headers": [
{}
],
"response_headers": [
{}
],
"secure_token": "example",
"secure_urls": true,
"subdomain": "example",
"temp_cname": [
"example"
],
"type": "example",
"updated_at": "example",
"wasabi": {
"access_key": "example",
"base_path": "example",
"bucket_name": "example",
"bucket_region": "example",
"secret": "example"
},
"webfolder": {
"base_url": "example"
},
"wordpress": {
"website_url": "example"
}
}
}Get live stream history
Get live stream history.
Inputs
- Live asset ID
live_asset_idtextRequired - A live asset id for the previously created asset.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"created_at": 1,
"input": {
"resolution": [
"example"
]
},
"live_asset_id": "example",
"live_video_source_id": "example",
"output": {
"playback_url": "example"
},
"status": "example",
"stream_key": "example",
"stream_url": "example",
"updated_at": 1
}
}Get live stream status
Get live stream status.
Inputs
- Live asset ID
live_asset_idtextRequired - A live asset id for the previously created asset.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"created_at": 1,
"input": {
"resolution": [
"example"
],
"title": "example"
},
"live_asset_id": "example",
"live_video_source_id": "example",
"output": {
"playback_url": "example",
"recording_dash_playback_url": "example",
"recording_playback_url": "example"
},
"status": "example",
"stream_key": "example",
"stream_url": "example",
"thumbnail": {
"disconnected": "example",
"end": "example",
"preparing": "example"
},
"updated_at": 1,
"vod_asset_id": "example"
}
}Get video asset
Get video asset.
Inputs
- Asset ID
asset_idtextRequired - An asset id for the previously created asset.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"access_control": "example",
"access_controls": {
"password": "example"
},
"asset_id": "example",
"audioOnly": true,
"created_at": 1,
"folder": "example",
"input": {
"aspect_ratio": "example",
"chapters": [
{
"endTime": 1,
"label": "example",
"startTime": 1
}
],
"description": "example",
"duration": 1,
"fps": 1,
"height": 1,
"profile_id": "example",
"size": 1,
"source_url": "example",
"title": "example",
"transformations": {
"audio_codec": [
"example"
],
"audio_only": true,
"drm": {
"type": "example"
},
"format": "example",
"generate_chapters": true,
"generate_description": true,
"generate_subtitles": {
"audio_language": "example",
"subtitle_languages": [
"example"
]
},
"image_overlay": {
"height": "example",
"horizontal_align": "example",
"horizontal_margin": "example",
"image_downloaded": true,
"url": "example",
"vertical_align": "example",
"vertical_margin": "example",
"width": "example"
},
"mp4_access": true,
"original_deleted": true,
"per_title_encoding": true,
"pre_processing_successful": true,
"preview_thumbnails": {
"max_tiles": 1
},
"resolution": [
"example"
],
"thumbnail": [
"example"
],
"thumbnail_format": "example",
"video_codec": [
"example"
]
},
"width": 1
},
"output": {
"dash_playback_url": "example",
"format": "example",
"playback_url": "example",
"preview_thumbnails_url": "example",
"status_url": "example",
"storage_bytes": 1,
"storage_details": {
"audio": [
{}
],
"playlist": [
{}
],
"previewThumbnail": [
{}
],
"subtitle": [
{}
],
"thumbnail": [
{}
],
"video": [
{}
]
},
"thumbnail_url": [
"example"
],
"transcription_word_level_timestamps": "example"
},
"playlists": [
"example"
],
"processed_at": 1,
"progress": 1,
"status": "example",
"tag": [
"example"
],
"thumbnail_updated_at": 1,
"updated_at": 1,
"video_protection": {
"signed_url": true
},
"warning": [
{
"code": "example",
"message": "example"
}
],
"workspace_id": "example",
"workspace_updated_at": 1
}
}Get video folder
Get video folder.
Inputs
- Workspace
workspace_idtextRequired - Video workspace id.
- Folder ID
folder_idtextRequired - Folder id.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"asset_count": 1,
"created_at": "example",
"depth": 1,
"id": "example",
"name": "example",
"parent_id": "example",
"path": [
"example"
],
"path_names": [
"example"
],
"subdirectory_count": 1,
"updated_at": "example",
"video_source_id": "example",
"workspace_id": "example"
}
}Get video workspace
Get video workspace.
Inputs
- Workspace
workspace_idtextRequired - Gumlet workspace ID. You can get it on Gumlet dashboard or retrieve it using list workspace API.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"channel_settings": {
"active": true,
"channel_access_control": "example",
"cname": [
"example"
],
"color_scheme": "example",
"description": "example",
"disable_invite_email": true,
"dynamic_watermark_type": "example",
"hero_updated_at": "example",
"hero_url": "example",
"icon_updated_at": "example",
"icon_url": "example",
"logo_updated_at": "example",
"logo_url": "example",
"password": "example",
"privacy_type": "example",
"temp_cname": [
"example"
],
"theme_preference": "example",
"title": "example",
"visible_playlists": [
{
"_id": "example",
"title": "example"
}
]
},
"created_at": "example",
"data_localization": "example",
"default_profile_id": "example",
"default_profile_updated_at": "example",
"distinct_tags": [
"example"
],
"folders": [
"example"
],
"id": "example",
"insights_enabled": true,
"name": "example",
"on_streaming_halt": true,
"player_config": {
"autoplay": true,
"caption_enabled": true,
"cast": true,
"cc_bg_color": "example",
"cc_color": "example",
"cc_font_size": "example",
"disable_player_controls": true,
"disable_seek": true,
"dynamic_watermark": true,
"enable_download_button": true,
"logo_height": 1,
"logo_width": 1,
"loop": true,
"player_color": "example",
"powered_by_gumlet_overlay": true,
"resume_where_left": true,
"show_video_title": true,
"watermark_bg_color": "example",
"watermark_font_color": "example",
"watermark_font_size": 1,
"watermark_interval": 1,
"watermark_visiblity_duration": 1
},
"storage_event_listener": [
{
"callback_url": "example",
"event_id": "example",
"is_varified": true,
"profile_id": "example",
"profile_name": "example",
"status": "example"
}
],
"type": "example",
"updated_at": "example",
"video_protection": {
"blacklisted_countries": [
"example"
],
"signed_url": true,
"signed_url_secret": "example",
"whitelisted_countries": "example",
"whitelisted_referrers": [
"example"
]
}
}
}List encoding profiles
List encoding profiles.
Inputs
- Page number
page_numbernumber - Page number to retrieve. Starts at 1.At least 1.
- Page size
page_sizenumber - Number of items to return per page. **Default: 20**. **Maximum: 100**.From 1 to 100.
- Next page token
next_page_tokentext - Cursor for the next page. Pass the next_page_token value returned in the previous response.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"all_profiles": [
{
"created_at": 1,
"name": "example",
"profile_id": "example",
"transformations": {
"audio_codec": [
"example"
],
"format": "example",
"mp4_access": true,
"thumbnail": [
"example"
],
"thumbnail_format": "example",
"video_codec": [
"example"
]
},
"updated_at": 1
}
],
"current_offset": 1,
"next_page_token": "example",
"page_size": 1,
"total_profile_count": 1
}
}List image sources
List image sources.
Inputs
- Page number
page_numbernumber - Page number to retrieve. Starts at 1.At least 1.
- Page size
page_sizenumber - Number of items to return per page. **Default: 20**. **Maximum: 100**.From 1 to 100.
- Next page token
next_page_tokentext - Cursor for the next page. Pass the next_page_token value returned in the previous response.
- Order by
order_bytext - Sort direction for the image source list (asc or desc). **Default: asc**.One of:
asc,desc.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"all_sources": [
{
"aws": {
"access_key": "example",
"base_path": "example",
"bucket_name": "example",
"bucket_region": "example",
"secret": "example"
},
"azure": {
"azure_account_name": "example",
"azure_container_name": "example",
"azure_path": "example"
},
"backblaze": {
"base_path": "example",
"bucket_name": "example"
},
"cloudinary": {
"cloud_name": "example"
},
"cname": [
"example"
],
"created_at": "example",
"dostorage": {
"base_path": "example",
"bucket_name": "example"
},
"gcs": {
"base_path": "example",
"bucket_name": "example"
},
"hetzner": {
"base_path": "example",
"bucket_name": "example"
},
"id": "example",
"linode": {
"bucket_name": "example",
"bucket_region": "example"
},
"namespace": "example",
"type": "example",
"updated_at": "example",
"wasabi": {
"base_path": "example",
"bucket_name": "example"
},
"webfolder": {
"base_url": "example"
},
"wordpress": {
"website_url": "example"
}
}
],
"next_page_token": "example",
"page_size": 1,
"total_count": 1
}
}List live streams
List live streams.
Inputs
- Live source
live_source_idtextRequired - Gumlet live source/collection id.
- Status
statustext - To filter live assets on the basis of their current status. Can be specified as a single status value string or comma-separated status values. The status value can be one of created, active, complete, disconnected, errored, and deleted.
- Page number
page_numbernumber - Page number to retrieve. Starts at 1.At least 1.
- Page size
page_sizenumber - Number of items to return per page. **Default: 20**. **Maximum: 100**.From 1 to 100.
- Next page token
next_page_tokentext - Cursor for the next page. Pass the next_page_token value returned in the previous response.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"all_live_assets": [
{
"created_at": 1,
"deleted_at": 1,
"input": {
"resolution": [
"example"
],
"title": "example"
},
"live_asset_id": "example",
"live_video_source_id": "example",
"output": {
"playback_url": "example",
"recording_dash_playback_url": "example",
"recording_playback_url": "example"
},
"status": "example",
"stream_key": "example",
"stream_url": "example",
"thumbnail": {
"disconnected": "example",
"end": "example",
"preparing": "example"
},
"updated_at": 1
}
],
"current_offset": 1,
"next_page_token": "example",
"page_size": 1,
"total_live_asset_count": 1
}
}List live workspaces
List live workspaces.
Inputs
None.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"all_live_sources": [
{
"created_at": "example",
"id": "example",
"name": "example",
"updated_at": "example",
"video_workspace_id": "example"
}
]
}
}List video assets
List video assets.
Inputs
- Workspace
workspace_idtextRequired - Gumlet workspace ID. You can get it on the Gumlet dashboard or retrieve it using the list workspaces API.
- Status
statustext - Filter assets by status. Single value or comma-separated list (for example ready or ready,errored).
- Tag
tagtext - Filter by asset tag(s). Use a comma-separated string for multiple tags.
- Title
titletext - Filter assets by title (text search). When title is set, next_page_token is not supported - use page_number / page_size.
- Folder ID
folder_idtext - Filter assets by folder id. Send null or empty string for assets not in a folder.
- Playlist
playlist_idtext - Filter assets belonging to a playlist.
- Start date
start_datedate - Asset created_at lower bound. Date in yyyy-MM-dd format.
- End date
end_datedate - Asset created_at upper bound. Date in yyyy-MM-dd format.
- Min duration
min_durationnumber - Minimum asset duration in seconds.At least 0.
- Max duration
max_durationnumber - Maximum asset duration in seconds.At least 0.
- Sort by
sort_bytext - Field to sort by. Default is created_at. next_page_token is only supported for the default sort or created_at.One of:
title,duration,uploaded_at(Uploaded at),created_at(Created at),status. - Order by
order_bytext - Sort direction. Default is desc.One of:
asc,desc. - Page number
page_numbernumber - Page number to retrieve. Starts at 1.At least 1.
- Page size
page_sizenumber - Number of items to return per page. **Default: 20**. **Maximum: 100**.From 1 to 100.
- Next page token
next_page_tokentext - Cursor for the next page. Pass the next_page_token value returned in the previous response. Supported only when sorting by default/created_at and when title is not set. Otherwise the API returns 400.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"all_assets": [
{
"asset_id": "example",
"created_at": 1,
"input": {
"additional_tracks": [
{}
],
"aspect_ratio": "example",
"duration": 1,
"fps": 1,
"height": 1,
"size": 1,
"source_url": "example",
"transformations": {},
"width": 1
},
"output": {
"format": "example",
"playback_url": "example",
"status_url": "example",
"thumbnail_url": [
"example"
]
},
"progress": 1,
"source_id": "example",
"status": "example",
"tag": "example",
"workspace_id": "example"
}
],
"current_offset": 1,
"distinct_tags": [
"example"
],
"next_page_token": "example",
"order_direction": "example",
"order_key": "example",
"page_size": 1,
"total_asset_count": 1
}
}List video folders
List video folders.
Inputs
- Workspace
workspace_idtextRequired - Video workspace id.
- Parent ID
parent_idtext - Parent folder id. Send null to list root folders.
Outputs
datalist- The response from Gumlet.
Example output
{
"data": [
{
"asset_count": 1,
"created_at": "example",
"depth": 1,
"id": "example",
"name": "example",
"parent_id": "example",
"path": [
"example"
],
"path_names": [
"example"
],
"subdirectory_count": 1,
"updated_at": "example",
"video_source_id": "example",
"workspace_id": "example"
}
]
}List video playlists
List video playlists.
Inputs
- Workspace
workspace_idtext - Gumlet video workspace ID. Preferred. Provide one of workspace_id or the deprecated aliases below (same ID).
Outputs
datalist- The response from Gumlet.
Example output
{
"data": [
{
"collection_id": "example",
"description": "example",
"id": "example",
"player_config": {},
"title": "example",
"workspace_id": "example"
}
]
}List video workspaces
List video workspaces.
Inputs
- Page number
page_numbernumber - Page number to retrieve. Starts at 1.At least 1.
- Page size
page_sizenumber - Number of items to return per page. **Default: 20**. **Maximum: 200**.From 1 to 200.
- Next page token
next_page_tokentext - Cursor for the next page. Pass the next_page_token value returned in the previous response.
- Order by
order_bytext - Sort direction for the workspace list (asc or desc). **Default: asc**.One of:
asc,desc.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"all_sources": [
{
"aws": {
"access_key": "example",
"bucket_name": "example",
"bucket_region": "example",
"secret": "example"
},
"channel_settings": {
"active": true,
"cname": [
"example"
],
"custom_logo": true,
"description": "example",
"logo_url": "example",
"privacy_type": "example",
"temp_cname": [
"example"
],
"title": "example"
},
"created_at": "example",
"data_localization": "example",
"default_profile_id": "example",
"embed_details": {
"allow_drm_protected_videos": true,
"autoplay": true,
"disable_player_controls": true,
"disable_seek": true,
"dynamic_watermark": true,
"is_seo": true,
"logo_height": 1,
"logo_width": 1,
"loop": true,
"pixel_tags": {},
"player_color": "example",
"powered_by_gumlet_overlay": true,
"preload": true,
"subtitle_enabled": true,
"watermark_bg_color": "example",
"watermark_font_color": "example",
"watermark_font_size": 1,
"watermark_interval": 1
},
"folders": [
"example"
],
"id": "example",
"insight_property_id": "example",
"name": "example",
"on_streaming_halt": true,
"player_config": {
"allow_drm_protected_videos": true,
"autoplay": true,
"disable_player_controls": true,
"disable_seek": true,
"dynamic_watermark": true,
"include_seo": true,
"logo_height": 1,
"logo_width": 1,
"loop": true,
"pixel_tags": {},
"player_color": "example",
"powered_by_gumlet_overlay": true,
"preload": true,
"subtitle_enabled": true,
"watermark_bg_color": "example",
"watermark_font_color": "example",
"watermark_font_size": 1,
"watermark_interval": 1
},
"type": "example",
"updated_at": "example",
"video_protection": {
"signed_url": true,
"signed_url_secret": "example"
}
}
],
"next_page_token": "example",
"page_size": 1
}
}List videos in playlist
List videos in playlist.
Inputs
- Playlist
playlist_idtextRequired - ID of playlist in which you need to list assets.
- Sort by
sort_bytext - Optional, if sort_by is set to asset_title it will sorted by title name. Otherwise order in which user added the assets in playlist.
- Sort order
sort_ordernumber - -1 or 1.
- Page number
page_numbernumber - Optional. Minimum: 1.
- Page size
page_sizetext - Optional. Minimum: 10.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"asset_list": [
{
"created_at": "example",
"description": "example",
"duration": 1,
"id": "example",
"status": "example",
"title": "example"
}
],
"has_next_page": true,
"next_page": 1
}
}Search videos, folders and playlists
Search videos, folders and playlists.
Inputs
- Search query
search_querytextRequired - Search query term.
- Workspace
workspace_idtext - Gumlet video workspace ID. Preferred. Provide workspace_id, or deprecated collection_id / source_id (same ID).
- Size
sizenumber - Number of results to return.
- Assets offset
assets_offsetnumber - Offset for assets.
- Folders offset
folders_offsetnumber - Offset for folders.
- Playlists offset
playlists_offsetnumber - Offset for playlists.
- Channels offset
channels_offsetnumber - Offset for channels.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {
"all_assets": [
{
"created_at": 1,
"highlight": [
{}
],
"id": "example",
"tags": [
"example"
],
"title": "example",
"updated_at": 1,
"workspace_id": "example"
}
],
"all_channels": [
{
"created_at": 1,
"description": "example",
"highlight": [
{}
],
"title": "example",
"updated_at": 1,
"workspace_id": "example"
}
],
"all_folders": [
{
"created_at": 1,
"highlight": [
{}
],
"id": "example",
"updated_at": 1,
"workspace_id": "example"
}
],
"all_playlists": [
{
"created_at": 1,
"description": "example",
"highlight": [
{}
],
"id": "example",
"title": "example",
"updated_at": 1,
"workspace_id": "example"
}
]
}
}Update video folder
Update video folder.
Inputs
- Workspace
workspace_idtextRequired - Video workspace id.
- Folder ID
folder_idtextRequired - Folder id.
- Name
nametext - New folder name.
- Parent ID
parent_idtext - New parent folder id. Send null to move the folder to the root level.
Outputs
dataobject- The response from Gumlet.
Example output
{
"data": {}
}