v1

latestOpenAPI 3.1.02026-07-24650272.2 KB
API Endpoints

Create Source

This endpoint allows users to create image source.

post/image/sources

Request body

namespacestring required

unique subdomain associated with the image source

type'proxy' | 'webfolder' | 'aws' | 'gcs' | 'dostorage' | 'wasabi' | 'cloudinary' | 'azure' | 'linode' | 'backblaze' | 'cloudflare' | 'zoom' required

Response

200

idstring
namestring
typestring
created_atstring
updated_atstring
video_protectionobject
default_profile_idstring
insight_property_idstring

Example response

{
  "id": "65b01610e99b77f116c0e32b",
  "name": "zoom-collection",
  "type": "zoom",
  "created_at": "2024-01-23T19:40:00.447Z",
  "updated_at": "2024-01-23T19:40:00.447Z",
  "player_config": {
    "preload": true,
    "powered_by_gumlet_overlay": true,
    "allow_drm_protected_videos": true,
    "player_color": "#6658ea",
    "include_seo": true,
    "logo_width": 100,
    "logo_height": 100,
    "watermark_font_size": 20,
    "watermark_font_color": "#ff0000",
    "watermark_bg_color": "transparent",
    "watermark_interval": 1000
  },
  "default_profile_id": "646df1c9173a4a2fcac180b7",
  "insight_property_id": "65b01610e99b77f116c0e329",
  "zoom": {
    "secret": "yourSecret"
  },
  "embed_details": {
    "powered_by_gumlet_overlay": true,
    "allow_drm_protected_videos": true,
    "preload": true,
    "logo_width": 100,
    "logo_height": 100,
    "player_color": "#6658ea",
    "is_seo": true,
    "watermark_font_size": 20,
    "watermark_font_color": "#ff0000",
    "watermark_bg_color": "transparent",
    "watermark_interval": 1000
  },
  "channel_settings": {
    "privacy_type": "private"
  }
}