Documentation ¶
Index ¶
- func GenReqDefForCancelAssetTranscodeTask() *def.HttpRequestDef
- func GenReqDefForCancelExtractAudioTask() *def.HttpRequestDef
- func GenReqDefForCheckMd5Duplication() *def.HttpRequestDef
- func GenReqDefForConfirmAssetUpload() *def.HttpRequestDef
- func GenReqDefForConfirmImageUpload() *def.HttpRequestDef
- func GenReqDefForCreateAssetByFileUpload() *def.HttpRequestDef
- func GenReqDefForCreateAssetCategory() *def.HttpRequestDef
- func GenReqDefForCreateAssetProcessTask() *def.HttpRequestDef
- func GenReqDefForCreateAssetReviewTask() *def.HttpRequestDef
- func GenReqDefForCreateExtractAudioTask() *def.HttpRequestDef
- func GenReqDefForCreatePreheatingAsset() *def.HttpRequestDef
- func GenReqDefForCreateTakeOverTask() *def.HttpRequestDef
- func GenReqDefForCreateTemplateGroup() *def.HttpRequestDef
- func GenReqDefForCreateWatermarkTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteAssetCategory() *def.HttpRequestDef
- func GenReqDefForDeleteAssets() *def.HttpRequestDef
- func GenReqDefForDeleteTemplateGroup() *def.HttpRequestDef
- func GenReqDefForDeleteWatermarkTemplate() *def.HttpRequestDef
- func GenReqDefForListAssetCategory() *def.HttpRequestDef
- func GenReqDefForListAssetList() *def.HttpRequestDef
- func GenReqDefForListTakeOverTask() *def.HttpRequestDef
- func GenReqDefForListTemplateGroup() *def.HttpRequestDef
- func GenReqDefForListTopStatistics() *def.HttpRequestDef
- func GenReqDefForListWatermarkTemplate() *def.HttpRequestDef
- func GenReqDefForPublishAssetFromObs() *def.HttpRequestDef
- func GenReqDefForPublishAssets() *def.HttpRequestDef
- func GenReqDefForShowAssetCipher() *def.HttpRequestDef
- func GenReqDefForShowAssetDetail() *def.HttpRequestDef
- func GenReqDefForShowAssetMeta() *def.HttpRequestDef
- func GenReqDefForShowAssetTempAuthority() *def.HttpRequestDef
- func GenReqDefForShowCdnStatistics() *def.HttpRequestDef
- func GenReqDefForShowPreheatingAsset() *def.HttpRequestDef
- func GenReqDefForShowTakeOverAssetDetails() *def.HttpRequestDef
- func GenReqDefForShowTakeOverTaskDetails() *def.HttpRequestDef
- func GenReqDefForShowVodStatistics() *def.HttpRequestDef
- func GenReqDefForUnpublishAssets() *def.HttpRequestDef
- func GenReqDefForUpdateAsset() *def.HttpRequestDef
- func GenReqDefForUpdateAssetCategory() *def.HttpRequestDef
- func GenReqDefForUpdateAssetMeta() *def.HttpRequestDef
- func GenReqDefForUpdateBucketAuthorized() *def.HttpRequestDef
- func GenReqDefForUpdateCoverByThumbnail() *def.HttpRequestDef
- func GenReqDefForUpdateTemplateGroup() *def.HttpRequestDef
- func GenReqDefForUpdateWatermarkTemplate() *def.HttpRequestDef
- func GenReqDefForUploadMetaDataByUrl() *def.HttpRequestDef
- func VodClientBuilder() *http_client.HcHttpClientBuilder
- type VodClient
- func (c *VodClient) CancelAssetTranscodeTask(request *model.CancelAssetTranscodeTaskRequest) (*model.CancelAssetTranscodeTaskResponse, error)
- func (c *VodClient) CancelExtractAudioTask(request *model.CancelExtractAudioTaskRequest) (*model.CancelExtractAudioTaskResponse, error)
- func (c *VodClient) CheckMd5Duplication(request *model.CheckMd5DuplicationRequest) (*model.CheckMd5DuplicationResponse, error)
- func (c *VodClient) ConfirmAssetUpload(request *model.ConfirmAssetUploadRequest) (*model.ConfirmAssetUploadResponse, error)
- func (c *VodClient) ConfirmImageUpload(request *model.ConfirmImageUploadRequest) (*model.ConfirmImageUploadResponse, error)
- func (c *VodClient) CreateAssetByFileUpload(request *model.CreateAssetByFileUploadRequest) (*model.CreateAssetByFileUploadResponse, error)
- func (c *VodClient) CreateAssetCategory(request *model.CreateAssetCategoryRequest) (*model.CreateAssetCategoryResponse, error)
- func (c *VodClient) CreateAssetProcessTask(request *model.CreateAssetProcessTaskRequest) (*model.CreateAssetProcessTaskResponse, error)
- func (c *VodClient) CreateAssetReviewTask(request *model.CreateAssetReviewTaskRequest) (*model.CreateAssetReviewTaskResponse, error)
- func (c *VodClient) CreateExtractAudioTask(request *model.CreateExtractAudioTaskRequest) (*model.CreateExtractAudioTaskResponse, error)
- func (c *VodClient) CreatePreheatingAsset(request *model.CreatePreheatingAssetRequest) (*model.CreatePreheatingAssetResponse, error)
- func (c *VodClient) CreateTakeOverTask(request *model.CreateTakeOverTaskRequest) (*model.CreateTakeOverTaskResponse, error)
- func (c *VodClient) CreateTemplateGroup(request *model.CreateTemplateGroupRequest) (*model.CreateTemplateGroupResponse, error)
- func (c *VodClient) CreateWatermarkTemplate(request *model.CreateWatermarkTemplateRequest) (*model.CreateWatermarkTemplateResponse, error)
- func (c *VodClient) DeleteAssetCategory(request *model.DeleteAssetCategoryRequest) (*model.DeleteAssetCategoryResponse, error)
- func (c *VodClient) DeleteAssets(request *model.DeleteAssetsRequest) (*model.DeleteAssetsResponse, error)
- func (c *VodClient) DeleteTemplateGroup(request *model.DeleteTemplateGroupRequest) (*model.DeleteTemplateGroupResponse, error)
- func (c *VodClient) DeleteWatermarkTemplate(request *model.DeleteWatermarkTemplateRequest) (*model.DeleteWatermarkTemplateResponse, error)
- func (c *VodClient) ListAssetCategory(request *model.ListAssetCategoryRequest) (*model.ListAssetCategoryResponse, error)
- func (c *VodClient) ListAssetList(request *model.ListAssetListRequest) (*model.ListAssetListResponse, error)
- func (c *VodClient) ListTakeOverTask(request *model.ListTakeOverTaskRequest) (*model.ListTakeOverTaskResponse, error)
- func (c *VodClient) ListTemplateGroup(request *model.ListTemplateGroupRequest) (*model.ListTemplateGroupResponse, error)
- func (c *VodClient) ListTopStatistics(request *model.ListTopStatisticsRequest) (*model.ListTopStatisticsResponse, error)
- func (c *VodClient) ListWatermarkTemplate(request *model.ListWatermarkTemplateRequest) (*model.ListWatermarkTemplateResponse, error)
- func (c *VodClient) PublishAssetFromObs(request *model.PublishAssetFromObsRequest) (*model.PublishAssetFromObsResponse, error)
- func (c *VodClient) PublishAssets(request *model.PublishAssetsRequest) (*model.PublishAssetsResponse, error)
- func (c *VodClient) ShowAssetCipher(request *model.ShowAssetCipherRequest) (*model.ShowAssetCipherResponse, error)
- func (c *VodClient) ShowAssetDetail(request *model.ShowAssetDetailRequest) (*model.ShowAssetDetailResponse, error)
- func (c *VodClient) ShowAssetMeta(request *model.ShowAssetMetaRequest) (*model.ShowAssetMetaResponse, error)
- func (c *VodClient) ShowAssetTempAuthority(request *model.ShowAssetTempAuthorityRequest) (*model.ShowAssetTempAuthorityResponse, error)
- func (c *VodClient) ShowCdnStatistics(request *model.ShowCdnStatisticsRequest) (*model.ShowCdnStatisticsResponse, error)
- func (c *VodClient) ShowPreheatingAsset(request *model.ShowPreheatingAssetRequest) (*model.ShowPreheatingAssetResponse, error)
- func (c *VodClient) ShowTakeOverAssetDetails(request *model.ShowTakeOverAssetDetailsRequest) (*model.ShowTakeOverAssetDetailsResponse, error)
- func (c *VodClient) ShowTakeOverTaskDetails(request *model.ShowTakeOverTaskDetailsRequest) (*model.ShowTakeOverTaskDetailsResponse, error)
- func (c *VodClient) ShowVodStatistics(request *model.ShowVodStatisticsRequest) (*model.ShowVodStatisticsResponse, error)
- func (c *VodClient) UnpublishAssets(request *model.UnpublishAssetsRequest) (*model.UnpublishAssetsResponse, error)
- func (c *VodClient) UpdateAsset(request *model.UpdateAssetRequest) (*model.UpdateAssetResponse, error)
- func (c *VodClient) UpdateAssetCategory(request *model.UpdateAssetCategoryRequest) (*model.UpdateAssetCategoryResponse, error)
- func (c *VodClient) UpdateAssetMeta(request *model.UpdateAssetMetaRequest) (*model.UpdateAssetMetaResponse, error)
- func (c *VodClient) UpdateBucketAuthorized(request *model.UpdateBucketAuthorizedRequest) (*model.UpdateBucketAuthorizedResponse, error)
- func (c *VodClient) UpdateCoverByThumbnail(request *model.UpdateCoverByThumbnailRequest) (*model.UpdateCoverByThumbnailResponse, error)
- func (c *VodClient) UpdateTemplateGroup(request *model.UpdateTemplateGroupRequest) (*model.UpdateTemplateGroupResponse, error)
- func (c *VodClient) UpdateWatermarkTemplate(request *model.UpdateWatermarkTemplateRequest) (*model.UpdateWatermarkTemplateResponse, error)
- func (c *VodClient) UploadMetaDataByUrl(request *model.UploadMetaDataByUrlRequest) (*model.UploadMetaDataByUrlResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCancelAssetTranscodeTask ¶
func GenReqDefForCancelAssetTranscodeTask() *def.HttpRequestDef
func GenReqDefForCancelExtractAudioTask ¶
func GenReqDefForCancelExtractAudioTask() *def.HttpRequestDef
func GenReqDefForCheckMd5Duplication ¶
func GenReqDefForCheckMd5Duplication() *def.HttpRequestDef
func GenReqDefForConfirmAssetUpload ¶
func GenReqDefForConfirmAssetUpload() *def.HttpRequestDef
func GenReqDefForConfirmImageUpload ¶
func GenReqDefForConfirmImageUpload() *def.HttpRequestDef
func GenReqDefForCreateAssetByFileUpload ¶
func GenReqDefForCreateAssetByFileUpload() *def.HttpRequestDef
func GenReqDefForCreateAssetCategory ¶
func GenReqDefForCreateAssetCategory() *def.HttpRequestDef
func GenReqDefForCreateAssetProcessTask ¶
func GenReqDefForCreateAssetProcessTask() *def.HttpRequestDef
func GenReqDefForCreateAssetReviewTask ¶
func GenReqDefForCreateAssetReviewTask() *def.HttpRequestDef
func GenReqDefForCreateExtractAudioTask ¶
func GenReqDefForCreateExtractAudioTask() *def.HttpRequestDef
func GenReqDefForCreatePreheatingAsset ¶
func GenReqDefForCreatePreheatingAsset() *def.HttpRequestDef
func GenReqDefForCreateTakeOverTask ¶
func GenReqDefForCreateTakeOverTask() *def.HttpRequestDef
func GenReqDefForCreateTemplateGroup ¶
func GenReqDefForCreateTemplateGroup() *def.HttpRequestDef
func GenReqDefForCreateWatermarkTemplate ¶
func GenReqDefForCreateWatermarkTemplate() *def.HttpRequestDef
func GenReqDefForDeleteAssetCategory ¶
func GenReqDefForDeleteAssetCategory() *def.HttpRequestDef
func GenReqDefForDeleteAssets ¶
func GenReqDefForDeleteAssets() *def.HttpRequestDef
func GenReqDefForDeleteTemplateGroup ¶
func GenReqDefForDeleteTemplateGroup() *def.HttpRequestDef
func GenReqDefForDeleteWatermarkTemplate ¶
func GenReqDefForDeleteWatermarkTemplate() *def.HttpRequestDef
func GenReqDefForListAssetCategory ¶
func GenReqDefForListAssetCategory() *def.HttpRequestDef
func GenReqDefForListAssetList ¶
func GenReqDefForListAssetList() *def.HttpRequestDef
func GenReqDefForListTakeOverTask ¶
func GenReqDefForListTakeOverTask() *def.HttpRequestDef
func GenReqDefForListTemplateGroup ¶
func GenReqDefForListTemplateGroup() *def.HttpRequestDef
func GenReqDefForListTopStatistics ¶
func GenReqDefForListTopStatistics() *def.HttpRequestDef
func GenReqDefForListWatermarkTemplate ¶
func GenReqDefForListWatermarkTemplate() *def.HttpRequestDef
func GenReqDefForPublishAssetFromObs ¶
func GenReqDefForPublishAssetFromObs() *def.HttpRequestDef
func GenReqDefForPublishAssets ¶
func GenReqDefForPublishAssets() *def.HttpRequestDef
func GenReqDefForShowAssetCipher ¶
func GenReqDefForShowAssetCipher() *def.HttpRequestDef
func GenReqDefForShowAssetDetail ¶
func GenReqDefForShowAssetDetail() *def.HttpRequestDef
func GenReqDefForShowAssetMeta ¶
func GenReqDefForShowAssetMeta() *def.HttpRequestDef
func GenReqDefForShowAssetTempAuthority ¶
func GenReqDefForShowAssetTempAuthority() *def.HttpRequestDef
func GenReqDefForShowCdnStatistics ¶
func GenReqDefForShowCdnStatistics() *def.HttpRequestDef
func GenReqDefForShowPreheatingAsset ¶
func GenReqDefForShowPreheatingAsset() *def.HttpRequestDef
func GenReqDefForShowTakeOverAssetDetails ¶
func GenReqDefForShowTakeOverAssetDetails() *def.HttpRequestDef
func GenReqDefForShowTakeOverTaskDetails ¶
func GenReqDefForShowTakeOverTaskDetails() *def.HttpRequestDef
func GenReqDefForShowVodStatistics ¶
func GenReqDefForShowVodStatistics() *def.HttpRequestDef
func GenReqDefForUnpublishAssets ¶
func GenReqDefForUnpublishAssets() *def.HttpRequestDef
func GenReqDefForUpdateAsset ¶
func GenReqDefForUpdateAsset() *def.HttpRequestDef
func GenReqDefForUpdateAssetCategory ¶
func GenReqDefForUpdateAssetCategory() *def.HttpRequestDef
func GenReqDefForUpdateAssetMeta ¶
func GenReqDefForUpdateAssetMeta() *def.HttpRequestDef
func GenReqDefForUpdateBucketAuthorized ¶
func GenReqDefForUpdateBucketAuthorized() *def.HttpRequestDef
func GenReqDefForUpdateCoverByThumbnail ¶
func GenReqDefForUpdateCoverByThumbnail() *def.HttpRequestDef
func GenReqDefForUpdateTemplateGroup ¶
func GenReqDefForUpdateTemplateGroup() *def.HttpRequestDef
func GenReqDefForUpdateWatermarkTemplate ¶
func GenReqDefForUpdateWatermarkTemplate() *def.HttpRequestDef
func GenReqDefForUploadMetaDataByUrl ¶
func GenReqDefForUploadMetaDataByUrl() *def.HttpRequestDef
func VodClientBuilder ¶
func VodClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type VodClient ¶
type VodClient struct {
HcClient *http_client.HcHttpClient
}
func NewVodClient ¶
func NewVodClient(hcClient *http_client.HcHttpClient) *VodClient
func (*VodClient) CancelAssetTranscodeTask ¶
func (c *VodClient) CancelAssetTranscodeTask(request *model.CancelAssetTranscodeTaskRequest) (*model.CancelAssetTranscodeTaskResponse, error)
## 典型场景 ## 取消媒资转码任务。<br/> ## 接口功能 ## 取消媒资转码任务,只能取消排队中的转码任务。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) CancelExtractAudioTask ¶
func (c *VodClient) CancelExtractAudioTask(request *model.CancelExtractAudioTaskRequest) (*model.CancelExtractAudioTaskResponse, error)
## 典型场景 ## 取消提取音频任务调用此接口<br/> ## 接口功能 ## 取消提取音频任务,只有排队中的音频任务才可以取消<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) CheckMd5Duplication ¶
func (c *VodClient) CheckMd5Duplication(request *model.CheckMd5DuplicationRequest) (*model.CheckMd5DuplicationResponse, error)
查询音视频MD5是否重复
func (*VodClient) ConfirmAssetUpload ¶
func (c *VodClient) ConfirmAssetUpload(request *model.ConfirmAssetUploadRequest) (*model.ConfirmAssetUploadResponse, error)
## 典型场景 ## 确认媒资上传时调用此接口。<br/> ## 接口功能 ## 确认媒资上传。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) ConfirmImageUpload ¶
func (c *VodClient) ConfirmImageUpload(request *model.ConfirmImageUploadRequest) (*model.ConfirmImageUploadResponse, error)
## 典型场景 ## 确认水印图片上传调用此接口<br/> ## 接口功能 ## 确认水印图片是否已经上传至对象存储<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) CreateAssetByFileUpload ¶
func (c *VodClient) CreateAssetByFileUpload(request *model.CreateAssetByFileUploadRequest) (*model.CreateAssetByFileUploadResponse, error)
上传方式创建媒资。
func (*VodClient) CreateAssetCategory ¶
func (c *VodClient) CreateAssetCategory(request *model.CreateAssetCategoryRequest) (*model.CreateAssetCategoryResponse, error)
## 典型场景 ## 创建媒资分类。<br/> ## 接口功能 ## 创建媒资分类。<br/> ## 接口约束 ## 最大支持三级分类,每个分类最多支持创建128个子分类。<br/>
func (*VodClient) CreateAssetProcessTask ¶
func (c *VodClient) CreateAssetProcessTask(request *model.CreateAssetProcessTaskRequest) (*model.CreateAssetProcessTaskResponse, error)
## 典型场景 ## 媒资处理。<br/> ## 接口功能 ## 媒资处理。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) CreateAssetReviewTask ¶
func (c *VodClient) CreateAssetReviewTask(request *model.CreateAssetReviewTaskRequest) (*model.CreateAssetReviewTaskResponse, error)
媒资审核接口
func (*VodClient) CreateExtractAudioTask ¶
func (c *VodClient) CreateExtractAudioTask(request *model.CreateExtractAudioTaskRequest) (*model.CreateExtractAudioTaskResponse, error)
## 典型场景 ## 从媒资中提取音频调用此接口<br/> ## 接口功能 ## 视频媒资提取音频<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) CreatePreheatingAsset ¶
func (c *VodClient) CreatePreheatingAsset(request *model.CreatePreheatingAssetRequest) (*model.CreatePreheatingAssetResponse, error)
## 典型场景 ## 点播发布后可向CDN预热。<br/> ## 接口功能 ## CDN预热。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) CreateTakeOverTask ¶
func (c *VodClient) CreateTakeOverTask(request *model.CreateTakeOverTaskRequest) (*model.CreateTakeOverTaskResponse, error)
## 典型场景 ## 创建托管任务<br/> ## 接口功能 ## <br/> ## 接口约束 ##<br/>
func (*VodClient) CreateTemplateGroup ¶
func (c *VodClient) CreateTemplateGroup(request *model.CreateTemplateGroupRequest) (*model.CreateTemplateGroupResponse, error)
## 典型场景 ## 创建自定义模板组时调用此接口。<br/> ## 接口功能 ## 创建模板组。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) CreateWatermarkTemplate ¶
func (c *VodClient) CreateWatermarkTemplate(request *model.CreateWatermarkTemplateRequest) (*model.CreateWatermarkTemplateResponse, error)
## 典型场景 ## 创建水印模板调用此接口<br/> ## 接口功能 ## 创建水印模板<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) DeleteAssetCategory ¶
func (c *VodClient) DeleteAssetCategory(request *model.DeleteAssetCategoryRequest) (*model.DeleteAssetCategoryResponse, error)
## 典型场景 ## 删除媒资分类。<br/> ## 接口功能 ## 删除媒资分类。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) DeleteAssets ¶
func (c *VodClient) DeleteAssets(request *model.DeleteAssetsRequest) (*model.DeleteAssetsResponse, error)
## 典型场景 ## 删除媒资,支持批量删除。<br/> ## 接口功能 ## 删除媒资,支持批量删除。<br/> ## 接口约束 ## 最多删除十个。<br/>
func (*VodClient) DeleteTemplateGroup ¶
func (c *VodClient) DeleteTemplateGroup(request *model.DeleteTemplateGroupRequest) (*model.DeleteTemplateGroupResponse, error)
## 典型场景 ## 删除自定义模板组接口。<br/> ## 接口功能 ## 删除自定义模板组。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) DeleteWatermarkTemplate ¶
func (c *VodClient) DeleteWatermarkTemplate(request *model.DeleteWatermarkTemplateRequest) (*model.DeleteWatermarkTemplateResponse, error)
## 典型场景 ## 删除水印模板<br/> ## 接口功能 ## 删除水印模板<br/> ## 接口约束 ## 无<br/>
func (*VodClient) ListAssetCategory ¶
func (c *VodClient) ListAssetCategory(request *model.ListAssetCategoryRequest) (*model.ListAssetCategoryResponse, error)
## 典型场景 ## 查询指定分类信息,及其子分类(即下一级分类)的列表。<br/> ## 接口功能 ## 查询指定分类信息。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) ListAssetList ¶
func (c *VodClient) ListAssetList(request *model.ListAssetListRequest) (*model.ListAssetListResponse, error)
查询媒资列表
func (*VodClient) ListTakeOverTask ¶
func (c *VodClient) ListTakeOverTask(request *model.ListTakeOverTaskRequest) (*model.ListTakeOverTaskResponse, error)
## 典型场景 ## 查询托管任务<br/> ## 接口功能 ## 查询托管任务<br/> ## 接口约束 ##<br/>
func (*VodClient) ListTemplateGroup ¶
func (c *VodClient) ListTemplateGroup(request *model.ListTemplateGroupRequest) (*model.ListTemplateGroupResponse, error)
## 典型场景 ## 查询模板组列表调用此接口。<br/> ## 接口功能 ## 查询模板组列表。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) ListTopStatistics ¶
func (c *VodClient) ListTopStatistics(request *model.ListTopStatisticsRequest) (*model.ListTopStatisticsResponse, error)
## 典型场景 ## 查询TopN播放视频信息 。<br/> ## 接口功能 ## 查询TopN播放视频信息 。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) ListWatermarkTemplate ¶
func (c *VodClient) ListWatermarkTemplate(request *model.ListWatermarkTemplateRequest) (*model.ListWatermarkTemplateResponse, error)
## 典型场景 ## 查询水印模板<br/> ## 接口功能 ## 查询水印模板<br/> ## 接口约束 ## 查询所有水印<br/>
func (*VodClient) PublishAssetFromObs ¶
func (c *VodClient) PublishAssetFromObs(request *model.PublishAssetFromObsRequest) (*model.PublishAssetFromObsResponse, error)
## 典型场景 ## 从OBS转存媒资,一键发布。<br/> ## 接口功能 ## 在OBS中的媒资一键发布到VOD。<br/> ## 接口约束 ## OBS的桶必须先授权给VOD服务用户。<br/>
func (*VodClient) PublishAssets ¶
func (c *VodClient) PublishAssets(request *model.PublishAssetsRequest) (*model.PublishAssetsResponse, error)
## 典型场景 ## 媒资发布,支持批量发布。<br/> ## 接口功能 ## 媒资发布,支持批量发布。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) ShowAssetCipher ¶
func (c *VodClient) ShowAssetCipher(request *model.ShowAssetCipherRequest) (*model.ShowAssetCipherResponse, error)
## 典型场景 ## 终端在尝试播放加密HLS时会先向租户Server请求密钥,租户Server则对终端身份进行认证,认证通过后再向VOD查询密钥<br/> ## 接口功能 ## 查询密钥<br/> ## 接口约束 ## 暂无<br/>
func (*VodClient) ShowAssetDetail ¶
func (c *VodClient) ShowAssetDetail(request *model.ShowAssetDetailRequest) (*model.ShowAssetDetailResponse, error)
查询指定媒资的详细信息
func (*VodClient) ShowAssetMeta ¶
func (c *VodClient) ShowAssetMeta(request *model.ShowAssetMetaRequest) (*model.ShowAssetMetaResponse, error)
## 典型场景 ## 查询媒资信息。<br/> ## 接口功能 ## 查询媒资信息。<br/> ## 接口约束 ## 最多同时查询10个。<br/>
func (*VodClient) ShowAssetTempAuthority ¶
func (c *VodClient) ShowAssetTempAuthority(request *model.ShowAssetTempAuthorityRequest) (*model.ShowAssetTempAuthorityResponse, error)
客户端请求创建媒资时,如果媒资文件超过100MB,需采用分段的方式向OBS上传,在每次与OBS交互前,客户端需通过此接口获取到授权方可与OBS交互。
func (*VodClient) ShowCdnStatistics ¶
func (c *VodClient) ShowCdnStatistics(request *model.ShowCdnStatisticsRequest) (*model.ShowCdnStatisticsResponse, error)
## 典型场景 ## 查询域名的cdn数据信息 。<br/> ## 接口功能 ## 查询域名的cdn数据信息 。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) ShowPreheatingAsset ¶
func (c *VodClient) ShowPreheatingAsset(request *model.ShowPreheatingAssetRequest) (*model.ShowPreheatingAssetResponse, error)
## 典型场景 ## 向CDN查询预热。<br/> ## 接口功能 ## 查询CDN预热。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) ShowTakeOverAssetDetails ¶
func (c *VodClient) ShowTakeOverAssetDetails(request *model.ShowTakeOverAssetDetailsRequest) (*model.ShowTakeOverAssetDetailsResponse, error)
## 典型场景 ## 查询托管媒资详情<br/> ## 接口功能 ## 查询托管媒资详情<br/> ## 接口约束 ##<br/>
func (*VodClient) ShowTakeOverTaskDetails ¶
func (c *VodClient) ShowTakeOverTaskDetails(request *model.ShowTakeOverTaskDetailsRequest) (*model.ShowTakeOverTaskDetailsResponse, error)
## 典型场景 ## 查询托管任务详情<br/> ## 接口功能 ## 查询托管任务详情<br/> ## 接口约束 ##<br/>
func (*VodClient) ShowVodStatistics ¶
func (c *VodClient) ShowVodStatistics(request *model.ShowVodStatisticsRequest) (*model.ShowVodStatisticsResponse, error)
## 典型场景 ## 用于查询点播源站相关的统计数据,包括流量、存储空间、转码时长等 。<br/> ## 接口功能 ## 用于查询点播源站相关的统计数据,包括流量、存储空间、转码时长等 。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) UnpublishAssets ¶
func (c *VodClient) UnpublishAssets(request *model.UnpublishAssetsRequest) (*model.UnpublishAssetsResponse, error)
## 典型场景 ## 媒资取消发布。<br/> ## 接口功能 ## 媒资取消发布。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) UpdateAsset ¶
func (c *VodClient) UpdateAsset(request *model.UpdateAssetRequest) (*model.UpdateAssetResponse, error)
## 典型场景 ## 媒资更新,单独上传封面、更新视频文件或更新已有封面。<br/> ## 接口功能 ## 媒资更新。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) UpdateAssetCategory ¶
func (c *VodClient) UpdateAssetCategory(request *model.UpdateAssetCategoryRequest) (*model.UpdateAssetCategoryResponse, error)
## 典型场景 ## 修改媒资分类。<br/> ## 接口功能 ## 修改媒资分类。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) UpdateAssetMeta ¶
func (c *VodClient) UpdateAssetMeta(request *model.UpdateAssetMetaRequest) (*model.UpdateAssetMetaResponse, error)
## 典型场景 ## 更新媒资信息。<br/> ## 接口功能 ## 更新媒资信息。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) UpdateBucketAuthorized ¶
func (c *VodClient) UpdateBucketAuthorized(request *model.UpdateBucketAuthorizedRequest) (*model.UpdateBucketAuthorizedResponse, error)
## 典型场景 ## 用户通过桶策略方式授权给VOD用户操作桶的权限。<br/> ## 接口功能 ## 用户通过桶策略方式授权给VOD用户操作桶的权限。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) UpdateCoverByThumbnail ¶
func (c *VodClient) UpdateCoverByThumbnail(request *model.UpdateCoverByThumbnailRequest) (*model.UpdateCoverByThumbnailResponse, error)
## 典型场景 ## 租户选择截图,来更新封面。<br/> ## 接口功能 ## 租户选择截图,来更新封面 。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) UpdateTemplateGroup ¶
func (c *VodClient) UpdateTemplateGroup(request *model.UpdateTemplateGroupRequest) (*model.UpdateTemplateGroupResponse, error)
## 典型场景 ## 修改模板组接口。<br/> ## 接口功能 ## 修改模板组。<br/> ## 接口约束 ## 无。<br/>
func (*VodClient) UpdateWatermarkTemplate ¶
func (c *VodClient) UpdateWatermarkTemplate(request *model.UpdateWatermarkTemplateRequest) (*model.UpdateWatermarkTemplateResponse, error)
## 典型场景 ## 修改水印模板<br/> ## 接口功能 ## 修改水印模板<br/> ## 接口约束 ## 无<br/>
func (*VodClient) UploadMetaDataByUrl ¶
func (c *VodClient) UploadMetaDataByUrl(request *model.UploadMetaDataByUrlRequest) (*model.UploadMetaDataByUrlResponse, error)
## 典型场景 ## 创建媒资:URL拉取注入。<br/> ## 接口功能 ## 创建媒资:URL拉取注入。<br/> ## 接口约束 ## 无<br/>