Skip to main content
Server path: /bunnycdn-stream | Type: Application | PCID required: Yes

Tools

ToolDescription
bunnycdn_stream_add_allowed_referrer_endpoint_add_allowed_referrerAdd Allowed Referer
bunnycdn_stream_add_blocked_referrer_endpoint_add_blocked_referrerAdd Blocked Referer
bunnycdn_stream_add_live_thumbnail_endpoint_add_thumbnailAdd Live Thumbnail
bunnycdn_stream_add_live_watermark_endpoint_add_watermarkAdd Live Watermark
bunnycdn_stream_add_video_library_endpoint_add_video_libraryAdd Video Library
bunnycdn_stream_add_watermark_endpoint_add_watermarkAdd Watermark
bunnycdn_stream_delete_live_thumbnail_endpoint_delete_thumbnailDelete Live Thumbnail
bunnycdn_stream_delete_live_watermark_endpoint_delete_watermarkDelete Live Watermark
bunnycdn_stream_delete_video_library_endpoint_delete_video_libraryDelete Video Library
bunnycdn_stream_delete_watermark_endpoint_delete_watermarkDelete Watermark
bunnycdn_stream_get_drm_statistics_endpoint_statisticsGet Video Library DRM Statistics
bunnycdn_stream_get_transcribing_statistics_endpoint_statisticsGet Video Library Transcribing Statistics
bunnycdn_stream_get_video_library_endpoint_get_video_libraryGet Video Library
bunnycdn_stream_get_video_library_languages_endpoint_get_video_library_languagesGet Languages
bunnycdn_stream_list_video_libraries_endpoint_list_video_librariesList Video Libraries
bunnycdn_stream_remove_allowed_referrer_endpoint_remove_allowed_referrerRemove Allowed Referer
bunnycdn_stream_remove_blocked_referrer_endpoint_remove_blocked_referrerRemove Blocked Referer
bunnycdn_stream_reset_video_library_api_key_endpoint_reset_video_library_api_keyReset API Key
bunnycdn_stream_reset_video_library_read_only_api_key_endpoint_reset_video_library_read_only_api_keyReset Read Only API Key
bunnycdn_stream_update_video_library_endpoint_update_video_libraryUpdate Video Library

bunnycdn_stream_add_allowed_referrer_endpoint_add_allowed_referrer

Add Allowed Referer Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library
HostnamestringYesThe hostname that will be added as an allowed referer

bunnycdn_stream_add_blocked_referrer_endpoint_add_blocked_referrer

Add Blocked Referer Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library
HostnamestringYesThe hostname that will be added as a blocked referer

bunnycdn_stream_add_live_thumbnail_endpoint_add_thumbnail

Add Live Thumbnail Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library

bunnycdn_stream_add_live_watermark_endpoint_add_watermark

Add Live Watermark Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library

bunnycdn_stream_add_video_library_endpoint_add_video_library

Add Video Library Parameters:
ParameterTypeRequiredDefaultDescription
NamestringYesThe name of the Video Library.
PlayerVersionintegerNo(Optional) Sets player version used for this library
ReplicationRegionsstring[]NoThe geo-replication regions of the underlying storage zone

bunnycdn_stream_add_watermark_endpoint_add_watermark

Add Watermark Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library

bunnycdn_stream_delete_live_thumbnail_endpoint_delete_thumbnail

Delete Live Thumbnail Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library

bunnycdn_stream_delete_live_watermark_endpoint_delete_watermark

Delete Live Watermark Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library

bunnycdn_stream_delete_video_library_endpoint_delete_video_library

Delete Video Library Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the Video Library that should be deleted

bunnycdn_stream_delete_watermark_endpoint_delete_watermark

Delete Watermark Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library

bunnycdn_stream_get_drm_statistics_endpoint_statistics

Get Video Library DRM Statistics Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the video library for which the DRM statistics will be returned
dateFromstringNo(Optional) The start date of the statistics. If no value is passed, the last 14 days will be returned
dateTostringNo(Optional) The end date of the statistics. If no value is passed, current date will be used

bunnycdn_stream_get_transcribing_statistics_endpoint_statistics

Get Video Library Transcribing Statistics Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the video library for which the transcribing statistics will be returned
dateFromstringNo(Optional) The start date of the statistics. If no value is passed, the last 14 days will be returned
dateTostringNo(Optional) The end date of the statistics. If no value is passed, current date will be used

bunnycdn_stream_get_video_library_endpoint_get_video_library

Get Video Library Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the Video Library that will be returned

bunnycdn_stream_get_video_library_languages_endpoint_get_video_library_languages

Get Languages

bunnycdn_stream_list_video_libraries_endpoint_list_video_libraries

List Video Libraries Parameters:
ParameterTypeRequiredDefaultDescription
pageintegerNoPage number for pagination
perPageintegerNoNumber of results per page
searchstringNoThe search term that will be used to filter the results

bunnycdn_stream_remove_allowed_referrer_endpoint_remove_allowed_referrer

Remove Allowed Referer Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library
HostnamestringYesThe hostname that will be removed as an allowed referer

bunnycdn_stream_remove_blocked_referrer_endpoint_remove_blocked_referrer

Remove Blocked Referer Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the requested Video Library
HostnamestringYesThe hostname that will be removed as a blocked referer

bunnycdn_stream_reset_video_library_api_key_endpoint_reset_video_library_api_key

Reset API Key Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the video library that should have the API key reset

bunnycdn_stream_reset_video_library_read_only_api_key_endpoint_reset_video_library_read_only_api_key

Reset Read Only API Key Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the video library that should have the read only API key reset

bunnycdn_stream_update_video_library_endpoint_update_video_library

Update Video Library Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesThe ID of the Video Library to update
AllowDirectPlaybooleanNo(Optional) Determines if direct play URLs should be enabled for the library
AllowEarlyPlaybooleanNo(Optional) Determines if the Early-Play feature should be enabled. Enabling this will enable Expose Originals.
AppleFairPlayDrmobjectNo(Optional) Configure Apple FairPlay DRM. Works only if Enterprise DRM is set up.
Bitrate1080pintegerNo(Optional) The bitrate used for encoding 1080p videos
Bitrate1440pintegerNo(Optional) The bitrate used for encoding 1440p videos
Bitrate2160pintegerNo(Optional) The bitrate used for encoding 2160p videos
Bitrate240pintegerNo(Optional) The bitrate used for encoding 240p videos
Bitrate360pintegerNo(Optional) The bitrate used for encoding 360p videos
Bitrate480pintegerNo(Optional) The bitrate used for encoding 480p videos
Bitrate720pintegerNo(Optional) The bitrate used for encoding 720p videos
BlockNoneReferrerbooleanNo(Optional) Determines if requests without a referer should be blocked.
CaptionsBackgroundstringNo(Optional) Sets the captions display background color
CaptionsFontColorstringNo(Optional) Sets the captions display font color
CaptionsFontSizeintegerNo(Optional) Sets the captions display font size
ControlsstringNo(Optional) The comma separated list of controls that will be displayed in the video player. Possible values: play-large, play, progress, current-time, mute, volume, captions, settings, pip, airplay, fullscreen.
CustomHTMLstringNo(Optional) Sets the player custom HTML code
DrmVersionintegerNo(Optional) Determines MediaCage DRM version to be used for this library
EnableCaptionsInPlaylistbooleanNo(Optional) Determines if any associated captions will be automatically signaled in the HLS master playlist via EXT-X-MEDIA tags, allowing client players to show captions.
EnableContentTaggingbooleanNo(Optional) Determines if content tagging should be enabled for this library.
EnabledResolutionsstringNo(Optional) Sets the enabled resolutions for the transcoding. At least one resolution should be enabled. Possible values: 240p, 360p, 480p, 720p, 1080p, 1440p, 2160p
EnableDRMbooleanNo(Optional) Determines if MediaCage DRM should be enabled for this library
EnableMP4FallbackbooleanNo(Optional) Determines if MP4 fallback should be enabled for this library.
EnableMultiAudioTrackSupportbooleanNo(Optional) Determines if multiple output audio track support is enabled on video library.
EnableTokenAuthenticationbooleanNo(Optional) Determines if the token authentication should be enabled
EnableTokenIPVerificationbooleanNo(Optional) Determines if the token IP verification should be enabled
EnableTranscribingbooleanNo(Optional) Determines if the automatic audio transcribing is currently enabled for this zone.
EnableTranscribingChaptersGenerationbooleanNo(Optional) Determines if automatic transcribing chapters generation is currently enabled.
EnableTranscribingDescriptionGenerationbooleanNo(Optional) Determines if automatic transcribing description generation is currently enabled.
EnableTranscribingMomentsGenerationbooleanNo(Optional) Determines if automatic transcribing moments generation is currently enabled.
EnableTranscribingTitleGenerationbooleanNo(Optional) Determines if automatic transcribing title generation is currently enabled.
EncodingTierintegerNo(Optional) Defines encoding tier to be used with video library. premium is a paid tier that offers either JIT encoding or prioritized encoding and extra codec support.
ExposeOriginalsbooleanNo(Optional) Marks whether original video files should be exposed via CDN. Originals are not protected by DRM. Enabling Early-Play will enable this.
ExposeVideoMetadatabooleanNo(Optional) Marks whether video metadata in form of schema meta tags and LD+JSON should be exposed.
FontFamilystringNo(Optional) The captions font family.
GoogleWidevineDrmobjectNo(Optional) Configure Google Widevine DRM. Works only if Enterprise DRM is set up.
JitEncodingEnabledbooleanNo(Optional) Determines whether JIT encoding should be used for the library. Supported in premium encoding only.
KeepOriginalFilesbooleanNo(Optional) Determines if the original file should be kept after the video is processed.
NamestringNo(Optional) Sets name of the video library
OutputCodecsstringNo(Optional) Specifies which video codecs are used for encoding, provided as a comma-separated (CSV) string. Free encoding tier supports only x264. A premium encoding tier adds support for vp9, hevc, and av1.
PlaybackSpeedsstringNo(Optional) The comma separated list of playback speeds that will be available in the video player. Possible values: 0.25,0.5,0.75,1.0,1.25,1.5,1.75,2.0,2.5,3,3.5,4
PlayerKeyColorstringNo(Optional) Sets the player key control color
PlayerTokenAuthenticationEnabledbooleanNo(Optional) Determines if the token authentication should be enabled.
PlayerVersionintegerNo(Optional) Sets player version used for this library
RememberPlayerPositionbooleanNo(Optional) Determines if the player will automatically remember the playback position.
RemoveMetadataFromFallbackVideosbooleanNo(Optional) Marks whether all potential video metadata should be removed from the fallback files
ResetTokenbooleanNo(Optional) Set to true to reset the CDN and embed view token key
ScaleVideoUsingBothDimensionsbooleanNo(Optional) Marks whether videos should be scaled using both dimensions. Prevents videos being upscaled or unexpected aspect ratio changes.
ShowHeatmapbooleanNo(Optional) Determines if the video watch heatmap should be displayed in the player.
TranscribingCaptionLanguagesstring[]No(Optional) The list of languages that the captions will be automatically transcribed to.
UILanguagestringNo(Optional) Sets the UI language of the video player.
UseSeparateAudioStreambooleanNo(Optional) Determines whether output audio stream should be split from video stream segments.
VastTagUrlstringNo(Optional) Sets the Vast tag URL
ViAiPublisherIdstringNo(Optional) Sets the vi.ai publisher ID
WatermarkHeightintegerNo(Optional) Sets the height of the watermark (in %)
WatermarkPositionLeftintegerNo(Optional) Sets the left offset of the watermark position (in %)
WatermarkPositionTopintegerNo(Optional) Sets the top offset of the watermark position (in %)
WatermarkWidthintegerNo(Optional) Sets the width of the watermark (in %)
WebhookUrlstringNo(Optional) Sets the webhook API url