-
public final class ManageVideosApi extends ApiClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classManageVideosApi.Companion
-
Constructor Summary
Constructors Constructor Description ManageVideosApi(String basePath, OkHttpClient client)
-
Method Summary
Modifier and Type Method Description final StringgetBaseUrl()final OkHttpClientgetClient()final StatusModelvideoAddCaption(Long libraryId, String videoId, String srclang, VideoAddCaptionRequest videoAddCaptionRequest)Add Caption Adds caption data to the specified video for the given language. final ApiResponse<StatusModel>videoAddCaptionWithHttpInfo(Long libraryId, String videoId, String srclang, VideoAddCaptionRequest videoAddCaptionRequest)Add Caption Adds caption data to the specified video for the given language. final RequestConfig<VideoAddCaptionRequest>videoAddCaptionRequestConfig(Long libraryId, String videoId, String srclang, VideoAddCaptionRequest videoAddCaptionRequest)To obtain the request config of the operation videoAddCaption final VideoModelvideoCreateVideo(Long libraryId, VideoCreateVideoRequest videoCreateVideoRequest)Create Video Creates a new video entry in the specified library. final ApiResponse<VideoModel>videoCreateVideoWithHttpInfo(Long libraryId, VideoCreateVideoRequest videoCreateVideoRequest)Create Video Creates a new video entry in the specified library. final RequestConfig<VideoCreateVideoRequest>videoCreateVideoRequestConfig(Long libraryId, VideoCreateVideoRequest videoCreateVideoRequest)To obtain the request config of the operation videoCreateVideo final StatusModelvideoDeleteCaption(Long libraryId, String videoId, String srclang)Delete Caption Deletes the caption for the specified language from the video. final ApiResponse<StatusModel>videoDeleteCaptionWithHttpInfo(Long libraryId, String videoId, String srclang)Delete Caption Deletes the caption for the specified language from the video. final RequestConfig<Unit>videoDeleteCaptionRequestConfig(Long libraryId, String videoId, String srclang)To obtain the request config of the operation videoDeleteCaption final StatusModelvideoDeleteResolutions(Long libraryId, String videoId, String resolutionsToDelete, Boolean deleteNonConfiguredResolutions, Boolean deleteOriginal, Boolean deleteMp4Files, Boolean dryRun)Cleanup Unconfigured Resolutions Cleans up unconfigured resolutions for the specified video. final ApiResponse<StatusModel>videoDeleteResolutionsWithHttpInfo(Long libraryId, String videoId, String resolutionsToDelete, Boolean deleteNonConfiguredResolutions, Boolean deleteOriginal, Boolean deleteMp4Files, Boolean dryRun)Cleanup Unconfigured Resolutions Cleans up unconfigured resolutions for the specified video. final RequestConfig<Unit>videoDeleteResolutionsRequestConfig(Long libraryId, String videoId, String resolutionsToDelete, Boolean deleteNonConfiguredResolutions, Boolean deleteOriginal, Boolean deleteMp4Files, Boolean dryRun)To obtain the request config of the operation videoDeleteResolutions final StatusModelvideoDeleteVideo(Long libraryId, String videoId)Delete Video Deletes the specified video permanently from the video library. final ApiResponse<StatusModel>videoDeleteVideoWithHttpInfo(Long libraryId, String videoId)Delete Video Deletes the specified video permanently from the video library. final RequestConfig<Unit>videoDeleteVideoRequestConfig(Long libraryId, String videoId)To obtain the request config of the operation videoDeleteVideo final StatusModelvideoFetchNewVideo(Long libraryId, VideoFetchNewVideoRequest videoFetchNewVideoRequest, String collectionId, Integer thumbnailTime)Fetch Video Fetches a video from a remote URL and adds it to the specified library. final ApiResponse<StatusModel>videoFetchNewVideoWithHttpInfo(Long libraryId, VideoFetchNewVideoRequest videoFetchNewVideoRequest, String collectionId, Integer thumbnailTime)Fetch Video Fetches a video from a remote URL and adds it to the specified library. final RequestConfig<VideoFetchNewVideoRequest>videoFetchNewVideoRequestConfig(Long libraryId, VideoFetchNewVideoRequest videoFetchNewVideoRequest, String collectionId, Integer thumbnailTime)To obtain the request config of the operation videoFetchNewVideo final VideoModelvideoGetVideo(Long libraryId, String videoId)Get Video Retrieves detailed metadata for the specified video, including status, dimensions, encoding progress, and more. final ApiResponse<VideoModel>videoGetVideoWithHttpInfo(Long libraryId, String videoId)Get Video Retrieves detailed metadata for the specified video, including status, dimensions, encoding progress, and more. final RequestConfig<Unit>videoGetVideoRequestConfig(Long libraryId, String videoId)To obtain the request config of the operation videoGetVideo final VideoHeatmapModelvideoGetVideoHeatmap(Long libraryId, String videoId)Get Video Heatmap Retrieves the heatmap data for the specified video, indicating the percentage of watch time across the video's duration. final ApiResponse<VideoHeatmapModel>videoGetVideoHeatmapWithHttpInfo(Long libraryId, String videoId)Get Video Heatmap Retrieves the heatmap data for the specified video, indicating the percentage of watch time across the video's duration. final RequestConfig<Unit>videoGetVideoHeatmapRequestConfig(Long libraryId, String videoId)To obtain the request config of the operation videoGetVideoHeatmap final VideoPlayDataModelvideoGetVideoPlayData(Long libraryId, String videoId, String token, Long expires)Get Video Play Data Retrieves playback data for the specified video including video URLs, captions path, authentication tokens, and player settings. final ApiResponse<VideoPlayDataModel>videoGetVideoPlayDataWithHttpInfo(Long libraryId, String videoId, String token, Long expires)Get Video Play Data Retrieves playback data for the specified video including video URLs, captions path, authentication tokens, and player settings. final RequestConfig<Unit>videoGetVideoPlayDataRequestConfig(Long libraryId, String videoId, String token, Long expires)To obtain the request config of the operation videoGetVideoPlayData final StatusModelOfVideoResolutionsInfoModelvideoGetVideoResolutions(Long libraryId, String videoId)Video Resolutions Info Retrieves information about the available and configured resolutions for the specified video. final ApiResponse<StatusModelOfVideoResolutionsInfoModel>videoGetVideoResolutionsWithHttpInfo(Long libraryId, String videoId)Video Resolutions Info Retrieves information about the available and configured resolutions for the specified video. final RequestConfig<Unit>videoGetVideoResolutionsRequestConfig(Long libraryId, String videoId)To obtain the request config of the operation videoGetVideoResolutions final VideoStatisticsModelvideoGetVideoStatistics(Long libraryId, String dateFrom, String dateTo, Boolean hourly, String videoGuid)Get Video Statistics Retrieves statistical data for videos in the specified library. final ApiResponse<VideoStatisticsModel>videoGetVideoStatisticsWithHttpInfo(Long libraryId, String dateFrom, String dateTo, Boolean hourly, String videoGuid)Get Video Statistics Retrieves statistical data for videos in the specified library. final RequestConfig<Unit>videoGetVideoStatisticsRequestConfig(Long libraryId, String dateFrom, String dateTo, Boolean hourly, String videoGuid)To obtain the request config of the operation videoGetVideoStatistics final PaginationListOfVideoModelvideoList(Long libraryId, Integer page, Integer itemsPerPage, String search, String collection, String orderBy)List Videos Retrieves a paginated list of videos from the specified video library. final ApiResponse<PaginationListOfVideoModel>videoListWithHttpInfo(Long libraryId, Integer page, Integer itemsPerPage, String search, String collection, String orderBy)List Videos Retrieves a paginated list of videos from the specified video library. final RequestConfig<Unit>videoListRequestConfig(Long libraryId, Integer page, Integer itemsPerPage, String search, String collection, String orderBy)To obtain the request config of the operation videoList final VideoModelvideoReencodeUsingCodec(Long libraryId, String videoId, EncoderOutputCodec outputCodecId)Add output codec to video Adds a specified output codec to the video. final ApiResponse<VideoModel>videoReencodeUsingCodecWithHttpInfo(Long libraryId, String videoId, EncoderOutputCodec outputCodecId)Add output codec to video Adds a specified output codec to the video. final RequestConfig<Unit>videoReencodeUsingCodecRequestConfig(Long libraryId, String videoId, EncoderOutputCodec outputCodecId)To obtain the request config of the operation videoReencodeUsingCodec final VideoModelvideoReencodeVideo(Long libraryId, String videoId)Reencode Video Initiates a re-encoding process for the specified video. final ApiResponse<VideoModel>videoReencodeVideoWithHttpInfo(Long libraryId, String videoId)Reencode Video Initiates a re-encoding process for the specified video. final RequestConfig<Unit>videoReencodeVideoRequestConfig(Long libraryId, String videoId)To obtain the request config of the operation videoReencodeVideo final VideoModelvideoRepackage(Long libraryId, String videoId, Boolean keepOriginalFiles)Repackage Video Repackages the video, with an option to retain original files for faster future operations. final ApiResponse<VideoModel>videoRepackageWithHttpInfo(Long libraryId, String videoId, Boolean keepOriginalFiles)Repackage Video Repackages the video, with an option to retain original files for faster future operations. final RequestConfig<Unit>videoRepackageRequestConfig(Long libraryId, String videoId, Boolean keepOriginalFiles)To obtain the request config of the operation videoRepackage final StatusModelvideoSetThumbnail(Long libraryId, String videoId, String thumbnailUrl)Set Thumbnail Sets or updates the thumbnail image for the specified video using the provided thumbnail URL. final ApiResponse<StatusModel>videoSetThumbnailWithHttpInfo(Long libraryId, String videoId, String thumbnailUrl)Set Thumbnail Sets or updates the thumbnail image for the specified video using the provided thumbnail URL. final RequestConfig<Unit>videoSetThumbnailRequestConfig(Long libraryId, String videoId, String thumbnailUrl)To obtain the request config of the operation videoSetThumbnail final StatusModelvideoTranscribeVideo(Long libraryId, String videoId, String language, Boolean force, VideoTranscribeVideoRequest videoTranscribeVideoRequest)Transcribe Video Initiates the transcription process for the specified video. final ApiResponse<StatusModel>videoTranscribeVideoWithHttpInfo(Long libraryId, String videoId, String language, Boolean force, VideoTranscribeVideoRequest videoTranscribeVideoRequest)Transcribe Video Initiates the transcription process for the specified video. final RequestConfig<VideoTranscribeVideoRequest>videoTranscribeVideoRequestConfig(Long libraryId, String videoId, String language, Boolean force, VideoTranscribeVideoRequest videoTranscribeVideoRequest)To obtain the request config of the operation videoTranscribeVideo final StatusModelvideoUpdateVideo(Long libraryId, String videoId, VideoUpdateVideoRequest videoUpdateVideoRequest)Update Video Updates metadata and other details for the specified video. final ApiResponse<StatusModel>videoUpdateVideoWithHttpInfo(Long libraryId, String videoId, VideoUpdateVideoRequest videoUpdateVideoRequest)Update Video Updates metadata and other details for the specified video. final RequestConfig<VideoUpdateVideoRequest>videoUpdateVideoRequestConfig(Long libraryId, String videoId, VideoUpdateVideoRequest videoUpdateVideoRequest)To obtain the request config of the operation videoUpdateVideo final StatusModelvideoUploadVideo(Long libraryId, String videoId, Boolean jitEnabled, String enabledResolutions, String enabledOutputCodecs)Upload Video Uploads a new video file to the specified video library. final ApiResponse<StatusModel>videoUploadVideoWithHttpInfo(Long libraryId, String videoId, Boolean jitEnabled, String enabledResolutions, String enabledOutputCodecs)Upload Video Uploads a new video file to the specified video library. final RequestConfig<Unit>videoUploadVideoRequestConfig(Long libraryId, String videoId, Boolean jitEnabled, String enabledResolutions, String enabledOutputCodecs)To obtain the request config of the operation videoUploadVideo -
-
Constructor Detail
-
ManageVideosApi
ManageVideosApi(String basePath, OkHttpClient client)
-
-
Method Detail
-
getBaseUrl
final String getBaseUrl()
-
getClient
final OkHttpClient getClient()
-
videoAddCaption
final StatusModel videoAddCaption(Long libraryId, String videoId, String srclang, VideoAddCaptionRequest videoAddCaptionRequest)
Add Caption Adds caption data to the specified video for the given language. The caption file should be provided as a base64 encoded string.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.srclang- The ISO 639-1 language code for the caption (e.g., 'en', 'fr').videoAddCaptionRequest- Caption model including language, label, and base64 encoded captions file.
-
videoAddCaptionWithHttpInfo
final ApiResponse<StatusModel> videoAddCaptionWithHttpInfo(Long libraryId, String videoId, String srclang, VideoAddCaptionRequest videoAddCaptionRequest)
Add Caption Adds caption data to the specified video for the given language. The caption file should be provided as a base64 encoded string.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.srclang- The ISO 639-1 language code for the caption (e.g., 'en', 'fr').videoAddCaptionRequest- Caption model including language, label, and base64 encoded captions file.
-
videoAddCaptionRequestConfig
final RequestConfig<VideoAddCaptionRequest> videoAddCaptionRequestConfig(Long libraryId, String videoId, String srclang, VideoAddCaptionRequest videoAddCaptionRequest)
To obtain the request config of the operation videoAddCaption
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.srclang- The ISO 639-1 language code for the caption (e.g., 'en', 'fr').videoAddCaptionRequest- Caption model including language, label, and base64 encoded captions file.
-
videoCreateVideo
final VideoModel videoCreateVideo(Long libraryId, VideoCreateVideoRequest videoCreateVideoRequest)
Create Video Creates a new video entry in the specified library. Provide the video details, such as title and optional thumbnail extraction time, in the request body.
- Parameters:
libraryId- The ID of the video library where the video will be created.videoCreateVideoRequest- Video model containing details for the new video.
-
videoCreateVideoWithHttpInfo
final ApiResponse<VideoModel> videoCreateVideoWithHttpInfo(Long libraryId, VideoCreateVideoRequest videoCreateVideoRequest)
Create Video Creates a new video entry in the specified library. Provide the video details, such as title and optional thumbnail extraction time, in the request body.
- Parameters:
libraryId- The ID of the video library where the video will be created.videoCreateVideoRequest- Video model containing details for the new video.
-
videoCreateVideoRequestConfig
final RequestConfig<VideoCreateVideoRequest> videoCreateVideoRequestConfig(Long libraryId, VideoCreateVideoRequest videoCreateVideoRequest)
To obtain the request config of the operation videoCreateVideo
- Parameters:
libraryId- The ID of the video library where the video will be created.videoCreateVideoRequest- Video model containing details for the new video.
-
videoDeleteCaption
final StatusModel videoDeleteCaption(Long libraryId, String videoId, String srclang)
Delete Caption Deletes the caption for the specified language from the video.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.srclang- The ISO 639-1 language code of the caption to be deleted.
-
videoDeleteCaptionWithHttpInfo
final ApiResponse<StatusModel> videoDeleteCaptionWithHttpInfo(Long libraryId, String videoId, String srclang)
Delete Caption Deletes the caption for the specified language from the video.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.srclang- The ISO 639-1 language code of the caption to be deleted.
-
videoDeleteCaptionRequestConfig
final RequestConfig<Unit> videoDeleteCaptionRequestConfig(Long libraryId, String videoId, String srclang)
To obtain the request config of the operation videoDeleteCaption
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.srclang- The ISO 639-1 language code of the caption to be deleted.
-
videoDeleteResolutions
final StatusModel videoDeleteResolutions(Long libraryId, String videoId, String resolutionsToDelete, Boolean deleteNonConfiguredResolutions, Boolean deleteOriginal, Boolean deleteMp4Files, Boolean dryRun)
Cleanup Unconfigured Resolutions Cleans up unconfigured resolutions for the specified video. Query parameters allow you to specify which resolutions to delete and whether to perform a dry run without actual file deletion.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.resolutionsToDelete- Comma separated list of resolutions to delete.deleteNonConfiguredResolutions- If true, deletes resolutions that are not configured.deleteOriginal- If true, deletes the original video file.deleteMp4Files- If true, deletes MP4 fallback files.dryRun- If set to true, no files will be actually deleted; only informational data is returned.
-
videoDeleteResolutionsWithHttpInfo
final ApiResponse<StatusModel> videoDeleteResolutionsWithHttpInfo(Long libraryId, String videoId, String resolutionsToDelete, Boolean deleteNonConfiguredResolutions, Boolean deleteOriginal, Boolean deleteMp4Files, Boolean dryRun)
Cleanup Unconfigured Resolutions Cleans up unconfigured resolutions for the specified video. Query parameters allow you to specify which resolutions to delete and whether to perform a dry run without actual file deletion.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.resolutionsToDelete- Comma separated list of resolutions to delete.deleteNonConfiguredResolutions- If true, deletes resolutions that are not configured.deleteOriginal- If true, deletes the original video file.deleteMp4Files- If true, deletes MP4 fallback files.dryRun- If set to true, no files will be actually deleted; only informational data is returned.
-
videoDeleteResolutionsRequestConfig
final RequestConfig<Unit> videoDeleteResolutionsRequestConfig(Long libraryId, String videoId, String resolutionsToDelete, Boolean deleteNonConfiguredResolutions, Boolean deleteOriginal, Boolean deleteMp4Files, Boolean dryRun)
To obtain the request config of the operation videoDeleteResolutions
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.resolutionsToDelete- Comma separated list of resolutions to delete.deleteNonConfiguredResolutions- If true, deletes resolutions that are not configured.deleteOriginal- If true, deletes the original video file.deleteMp4Files- If true, deletes MP4 fallback files.dryRun- If set to true, no files will be actually deleted; only informational data is returned.
-
videoDeleteVideo
final StatusModel videoDeleteVideo(Long libraryId, String videoId)
Delete Video Deletes the specified video permanently from the video library.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to be deleted.
-
videoDeleteVideoWithHttpInfo
final ApiResponse<StatusModel> videoDeleteVideoWithHttpInfo(Long libraryId, String videoId)
Delete Video Deletes the specified video permanently from the video library.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to be deleted.
-
videoDeleteVideoRequestConfig
final RequestConfig<Unit> videoDeleteVideoRequestConfig(Long libraryId, String videoId)
To obtain the request config of the operation videoDeleteVideo
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to be deleted.
-
videoFetchNewVideo
final StatusModel videoFetchNewVideo(Long libraryId, VideoFetchNewVideoRequest videoFetchNewVideoRequest, String collectionId, Integer thumbnailTime)
Fetch Video Fetches a video from a remote URL and adds it to the specified library. Optional parameters allow you to specify a collection and the time (in ms) to extract a thumbnail.
- Parameters:
libraryId- The ID of the video library.videoFetchNewVideoRequest- Fetch video request model containing the URL and optional headers for the fetch operation.collectionId- Optional collection ID to assign the fetched video to.thumbnailTime- Optional video time in milliseconds to extract the main video thumbnail.
-
videoFetchNewVideoWithHttpInfo
final ApiResponse<StatusModel> videoFetchNewVideoWithHttpInfo(Long libraryId, VideoFetchNewVideoRequest videoFetchNewVideoRequest, String collectionId, Integer thumbnailTime)
Fetch Video Fetches a video from a remote URL and adds it to the specified library. Optional parameters allow you to specify a collection and the time (in ms) to extract a thumbnail.
- Parameters:
libraryId- The ID of the video library.videoFetchNewVideoRequest- Fetch video request model containing the URL and optional headers for the fetch operation.collectionId- Optional collection ID to assign the fetched video to.thumbnailTime- Optional video time in milliseconds to extract the main video thumbnail.
-
videoFetchNewVideoRequestConfig
final RequestConfig<VideoFetchNewVideoRequest> videoFetchNewVideoRequestConfig(Long libraryId, VideoFetchNewVideoRequest videoFetchNewVideoRequest, String collectionId, Integer thumbnailTime)
To obtain the request config of the operation videoFetchNewVideo
- Parameters:
libraryId- The ID of the video library.videoFetchNewVideoRequest- Fetch video request model containing the URL and optional headers for the fetch operation.collectionId- Optional collection ID to assign the fetched video to.thumbnailTime- Optional video time in milliseconds to extract the main video thumbnail.
-
videoGetVideo
final VideoModel videoGetVideo(Long libraryId, String videoId)
Get Video Retrieves detailed metadata for the specified video, including status, dimensions, encoding progress, and more.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.
-
videoGetVideoWithHttpInfo
final ApiResponse<VideoModel> videoGetVideoWithHttpInfo(Long libraryId, String videoId)
Get Video Retrieves detailed metadata for the specified video, including status, dimensions, encoding progress, and more.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.
-
videoGetVideoRequestConfig
final RequestConfig<Unit> videoGetVideoRequestConfig(Long libraryId, String videoId)
To obtain the request config of the operation videoGetVideo
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.
-
videoGetVideoHeatmap
final VideoHeatmapModel videoGetVideoHeatmap(Long libraryId, String videoId)
Get Video Heatmap Retrieves the heatmap data for the specified video, indicating the percentage of watch time across the video's duration.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.
-
videoGetVideoHeatmapWithHttpInfo
final ApiResponse<VideoHeatmapModel> videoGetVideoHeatmapWithHttpInfo(Long libraryId, String videoId)
Get Video Heatmap Retrieves the heatmap data for the specified video, indicating the percentage of watch time across the video's duration.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.
-
videoGetVideoHeatmapRequestConfig
final RequestConfig<Unit> videoGetVideoHeatmapRequestConfig(Long libraryId, String videoId)
To obtain the request config of the operation videoGetVideoHeatmap
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.
-
videoGetVideoPlayData
final VideoPlayDataModel videoGetVideoPlayData(Long libraryId, String videoId, String token, Long expires)
Get Video Play Data Retrieves playback data for the specified video including video URLs, captions path, authentication tokens, and player settings.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.token- Authentication token for accessing the video playback data.expires- Expiration timestamp for the provided token.
-
videoGetVideoPlayDataWithHttpInfo
final ApiResponse<VideoPlayDataModel> videoGetVideoPlayDataWithHttpInfo(Long libraryId, String videoId, String token, Long expires)
Get Video Play Data Retrieves playback data for the specified video including video URLs, captions path, authentication tokens, and player settings.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.token- Authentication token for accessing the video playback data.expires- Expiration timestamp for the provided token.
-
videoGetVideoPlayDataRequestConfig
final RequestConfig<Unit> videoGetVideoPlayDataRequestConfig(Long libraryId, String videoId, String token, Long expires)
To obtain the request config of the operation videoGetVideoPlayData
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.token- Authentication token for accessing the video playback data.expires- Expiration timestamp for the provided token.
-
videoGetVideoResolutions
final StatusModelOfVideoResolutionsInfoModel videoGetVideoResolutions(Long libraryId, String videoId)
Video Resolutions Info Retrieves information about the available and configured resolutions for the specified video. This includes data on storage resolutions and MP4 fallback files if available.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.
-
videoGetVideoResolutionsWithHttpInfo
final ApiResponse<StatusModelOfVideoResolutionsInfoModel> videoGetVideoResolutionsWithHttpInfo(Long libraryId, String videoId)
Video Resolutions Info Retrieves information about the available and configured resolutions for the specified video. This includes data on storage resolutions and MP4 fallback files if available.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.
-
videoGetVideoResolutionsRequestConfig
final RequestConfig<Unit> videoGetVideoResolutionsRequestConfig(Long libraryId, String videoId)
To obtain the request config of the operation videoGetVideoResolutions
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.
-
videoGetVideoStatistics
final VideoStatisticsModel videoGetVideoStatistics(Long libraryId, String dateFrom, String dateTo, Boolean hourly, String videoGuid)
Get Video Statistics Retrieves statistical data for videos in the specified library. Supports filtering by date range, hourly grouping, and filtering by video GUID.
- Parameters:
libraryId- The ID of the video library.dateFrom- Optional start date (ISO 8601 format) for the statistics.dateTo- Optional end date (ISO 8601 format) for the statistics.hourly- If true, returns statistics data grouped by hour.videoGuid- Optional GUID of a specific video to retrieve statistics for.
-
videoGetVideoStatisticsWithHttpInfo
final ApiResponse<VideoStatisticsModel> videoGetVideoStatisticsWithHttpInfo(Long libraryId, String dateFrom, String dateTo, Boolean hourly, String videoGuid)
Get Video Statistics Retrieves statistical data for videos in the specified library. Supports filtering by date range, hourly grouping, and filtering by video GUID.
- Parameters:
libraryId- The ID of the video library.dateFrom- Optional start date (ISO 8601 format) for the statistics.dateTo- Optional end date (ISO 8601 format) for the statistics.hourly- If true, returns statistics data grouped by hour.videoGuid- Optional GUID of a specific video to retrieve statistics for.
-
videoGetVideoStatisticsRequestConfig
final RequestConfig<Unit> videoGetVideoStatisticsRequestConfig(Long libraryId, String dateFrom, String dateTo, Boolean hourly, String videoGuid)
To obtain the request config of the operation videoGetVideoStatistics
- Parameters:
libraryId- The ID of the video library.dateFrom- Optional start date (ISO 8601 format) for the statistics.dateTo- Optional end date (ISO 8601 format) for the statistics.hourly- If true, returns statistics data grouped by hour.videoGuid- Optional GUID of a specific video to retrieve statistics for.
-
videoList
final PaginationListOfVideoModel videoList(Long libraryId, Integer page, Integer itemsPerPage, String search, String collection, String orderBy)
List Videos Retrieves a paginated list of videos from the specified video library. Supports filtering by search term, collection, and ordering by date.
- Parameters:
libraryId- The ID of the video library.page- The page number to retrieve.itemsPerPage- The number of videos per page.search- A search term to filter videos by title or metadata.collection- The ID of the collection to filter videos by.orderBy- Specifies the field by which to order the video list.
-
videoListWithHttpInfo
final ApiResponse<PaginationListOfVideoModel> videoListWithHttpInfo(Long libraryId, Integer page, Integer itemsPerPage, String search, String collection, String orderBy)
List Videos Retrieves a paginated list of videos from the specified video library. Supports filtering by search term, collection, and ordering by date.
- Parameters:
libraryId- The ID of the video library.page- The page number to retrieve.itemsPerPage- The number of videos per page.search- A search term to filter videos by title or metadata.collection- The ID of the collection to filter videos by.orderBy- Specifies the field by which to order the video list.
-
videoListRequestConfig
final RequestConfig<Unit> videoListRequestConfig(Long libraryId, Integer page, Integer itemsPerPage, String search, String collection, String orderBy)
To obtain the request config of the operation videoList
- Parameters:
libraryId- The ID of the video library.page- The page number to retrieve.itemsPerPage- The number of videos per page.search- A search term to filter videos by title or metadata.collection- The ID of the collection to filter videos by.orderBy- Specifies the field by which to order the video list.
-
videoReencodeUsingCodec
final VideoModel videoReencodeUsingCodec(Long libraryId, String videoId, EncoderOutputCodec outputCodecId)
Add output codec to video Adds a specified output codec to the video. This enables additional encoding options for the video file.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.outputCodecId- The output codec to add (e.g., x264, vp9, hevc, av1).
-
videoReencodeUsingCodecWithHttpInfo
final ApiResponse<VideoModel> videoReencodeUsingCodecWithHttpInfo(Long libraryId, String videoId, EncoderOutputCodec outputCodecId)
Add output codec to video Adds a specified output codec to the video. This enables additional encoding options for the video file.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.outputCodecId- The output codec to add (e.g., x264, vp9, hevc, av1).
-
videoReencodeUsingCodecRequestConfig
final RequestConfig<Unit> videoReencodeUsingCodecRequestConfig(Long libraryId, String videoId, EncoderOutputCodec outputCodecId)
To obtain the request config of the operation videoReencodeUsingCodec
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.outputCodecId- The output codec to add (e.g., x264, vp9, hevc, av1).
-
videoReencodeVideo
final VideoModel videoReencodeVideo(Long libraryId, String videoId)
Reencode Video Initiates a re-encoding process for the specified video. This operation can be used to adjust encoding settings or to fix issues with the original encoding.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to reencode.
-
videoReencodeVideoWithHttpInfo
final ApiResponse<VideoModel> videoReencodeVideoWithHttpInfo(Long libraryId, String videoId)
Reencode Video Initiates a re-encoding process for the specified video. This operation can be used to adjust encoding settings or to fix issues with the original encoding.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to reencode.
-
videoReencodeVideoRequestConfig
final RequestConfig<Unit> videoReencodeVideoRequestConfig(Long libraryId, String videoId)
To obtain the request config of the operation videoReencodeVideo
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to reencode.
-
videoRepackage
final VideoModel videoRepackage(Long libraryId, String videoId, Boolean keepOriginalFiles)
Repackage Video Repackages the video, with an option to retain original files for faster future operations. This process may adjust resolution outputs and file formats.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to repackage.keepOriginalFiles- If true, previous file versions are kept in storage, allowing for faster future repackaging.
-
videoRepackageWithHttpInfo
final ApiResponse<VideoModel> videoRepackageWithHttpInfo(Long libraryId, String videoId, Boolean keepOriginalFiles)
Repackage Video Repackages the video, with an option to retain original files for faster future operations. This process may adjust resolution outputs and file formats.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to repackage.keepOriginalFiles- If true, previous file versions are kept in storage, allowing for faster future repackaging.
-
videoRepackageRequestConfig
final RequestConfig<Unit> videoRepackageRequestConfig(Long libraryId, String videoId, Boolean keepOriginalFiles)
To obtain the request config of the operation videoRepackage
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to repackage.keepOriginalFiles- If true, previous file versions are kept in storage, allowing for faster future repackaging.
-
videoSetThumbnail
final StatusModel videoSetThumbnail(Long libraryId, String videoId, String thumbnailUrl)
Set Thumbnail Sets or updates the thumbnail image for the specified video using the provided thumbnail URL.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.thumbnailUrl- The URL of the thumbnail image to set for the video.
-
videoSetThumbnailWithHttpInfo
final ApiResponse<StatusModel> videoSetThumbnailWithHttpInfo(Long libraryId, String videoId, String thumbnailUrl)
Set Thumbnail Sets or updates the thumbnail image for the specified video using the provided thumbnail URL.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.thumbnailUrl- The URL of the thumbnail image to set for the video.
-
videoSetThumbnailRequestConfig
final RequestConfig<Unit> videoSetThumbnailRequestConfig(Long libraryId, String videoId, String thumbnailUrl)
To obtain the request config of the operation videoSetThumbnail
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video.thumbnailUrl- The URL of the thumbnail image to set for the video.
-
videoTranscribeVideo
final StatusModel videoTranscribeVideo(Long libraryId, String videoId, String language, Boolean force, VideoTranscribeVideoRequest videoTranscribeVideoRequest)
Transcribe Video Initiates the transcription process for the specified video. You can optionally override the video library transcription settings using the provided request body.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to transcribe.language- The ISO 639-1 language code of the video source.force- If true, forces the transcription process even if the video has been transcribed before.videoTranscribeVideoRequest- Optional transcription settings that override the default video library settings.
-
videoTranscribeVideoWithHttpInfo
final ApiResponse<StatusModel> videoTranscribeVideoWithHttpInfo(Long libraryId, String videoId, String language, Boolean force, VideoTranscribeVideoRequest videoTranscribeVideoRequest)
Transcribe Video Initiates the transcription process for the specified video. You can optionally override the video library transcription settings using the provided request body.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to transcribe.language- The ISO 639-1 language code of the video source.force- If true, forces the transcription process even if the video has been transcribed before.videoTranscribeVideoRequest- Optional transcription settings that override the default video library settings.
-
videoTranscribeVideoRequestConfig
final RequestConfig<VideoTranscribeVideoRequest> videoTranscribeVideoRequestConfig(Long libraryId, String videoId, String language, Boolean force, VideoTranscribeVideoRequest videoTranscribeVideoRequest)
To obtain the request config of the operation videoTranscribeVideo
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to transcribe.language- The ISO 639-1 language code of the video source.force- If true, forces the transcription process even if the video has been transcribed before.videoTranscribeVideoRequest- Optional transcription settings that override the default video library settings.
-
videoUpdateVideo
final StatusModel videoUpdateVideo(Long libraryId, String videoId, VideoUpdateVideoRequest videoUpdateVideoRequest)
Update Video Updates metadata and other details for the specified video. Provide updated fields in the request body using the UpdateVideoModel.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to update.videoUpdateVideoRequest- Video model containing the fields to update.
-
videoUpdateVideoWithHttpInfo
final ApiResponse<StatusModel> videoUpdateVideoWithHttpInfo(Long libraryId, String videoId, VideoUpdateVideoRequest videoUpdateVideoRequest)
Update Video Updates metadata and other details for the specified video. Provide updated fields in the request body using the UpdateVideoModel.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to update.videoUpdateVideoRequest- Video model containing the fields to update.
-
videoUpdateVideoRequestConfig
final RequestConfig<VideoUpdateVideoRequest> videoUpdateVideoRequestConfig(Long libraryId, String videoId, VideoUpdateVideoRequest videoUpdateVideoRequest)
To obtain the request config of the operation videoUpdateVideo
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier of the video to update.videoUpdateVideoRequest- Video model containing the fields to update.
-
videoUploadVideo
final StatusModel videoUploadVideo(Long libraryId, String videoId, Boolean jitEnabled, String enabledResolutions, String enabledOutputCodecs)
Upload Video Uploads a new video file to the specified video library. Additional query parameters allow customization of encoding options such as JIT encoding, enabled resolutions, and output codecs.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier to assign to the new video.jitEnabled- Determines whether JIT encoding should be enabled for this video.enabledResolutions- A comma-separated list of resolutions to enable for encoding.enabledOutputCodecs- Specifies the codecs that will be used to encode the video.
-
videoUploadVideoWithHttpInfo
final ApiResponse<StatusModel> videoUploadVideoWithHttpInfo(Long libraryId, String videoId, Boolean jitEnabled, String enabledResolutions, String enabledOutputCodecs)
Upload Video Uploads a new video file to the specified video library. Additional query parameters allow customization of encoding options such as JIT encoding, enabled resolutions, and output codecs.
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier to assign to the new video.jitEnabled- Determines whether JIT encoding should be enabled for this video.enabledResolutions- A comma-separated list of resolutions to enable for encoding.enabledOutputCodecs- Specifies the codecs that will be used to encode the video.
-
videoUploadVideoRequestConfig
final RequestConfig<Unit> videoUploadVideoRequestConfig(Long libraryId, String videoId, Boolean jitEnabled, String enabledResolutions, String enabledOutputCodecs)
To obtain the request config of the operation videoUploadVideo
- Parameters:
libraryId- The ID of the video library.videoId- The unique identifier to assign to the new video.jitEnabled- Determines whether JIT encoding should be enabled for this video.enabledResolutions- A comma-separated list of resolutions to enable for encoding.enabledOutputCodecs- Specifies the codecs that will be used to encode the video.
-
-
-
-