检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
https://{endpoint}/v1/{project_id}/guard/referer-chain?domain=play.example.huawei.com 响应示例 状态码: 200 查询Referer黑白名单成功 { "domain" : "play.example.huawei.com",
和receiveVideo不能同时设置为false。 } domainPolicy:可选,DomainPolicy类型。指定接入域名的策略,该设置仅在schedulePolicy参数为"DNS"模式时生效,DomainPolicy定义如下:{ 0:可选,number类型。表示使用用户自定义域名,默认值0。
UpdateDomainHttpsCertRequest request = new UpdateDomainHttpsCertRequest(); DomainHttpsCertInfo body = new DomainHttpsCertInfo();
DomainType: model.GetCreateUrlAuthchainReqDomainTypeEnum().STRING, Domain: "string", } response, err := client.CreateUrlAuthchain(request)
参数 是否必选 参数类型 描述 push_domain 是 String 推流域名 application 是 Array of PushDomainApplication objects 推流域名APP配置 表4 PushDomainApplication 参数 是否必选 参数类型
DeleteDomainKeyChainRequest request = new DeleteDomainKeyChainRequest(); try { DeleteDomainKeyChainResponse response
build(); ShowDomainKeyChainRequest request = new ShowDomainKeyChainRequest(); try { ShowDomainKeyChainResponse response
d}/domain { "domain" : "play.example.com", "status" : "off" } 响应示例 状态码: 200 直播域名修改成功 { "domain" : "play.example.com", "domain_type"
DeleteDomainRequest request = new DeleteDomainRequest(); try { DeleteDomainResponse response = client.deleteDomain(request);
build(); UpdateDomainKeyChainRequest request = new UpdateDomainKeyChainRequest(); KeyChainInfo body = new KeyChainInfo(); body
build(); DeleteDomainHttpsCertRequest request = new DeleteDomainHttpsCertRequest(); try { DeleteDomainHttpsCertResponse response
CreateDomainRequest{} request.Body = &model.LiveDomainCreateReq{ Region: "cn-north-4", DomainType: model.GetLiveDomainCreateReqDomainTypeEnum()
请求的唯一标识。 表5 响应Body参数 参数 参数类型 描述 stream_portraits Array of StreamPortrait objects 播放画像信息列表。 表6 StreamPortrait 参数 参数类型 描述 time String 统计日期,日期格式按照ISO
SetRefererChainRequest request = new SetRefererChainRequest(); SetRefererChainInfo body = new SetRefererChainInfo(); List<String>
https://{endpoint}/v1/{project_id}/domain/delay?play_domain=pull.example.test.com 响应示例 状态码: 200 查询播放域名延时配置成功 { "play_domain" : "pull.example.test.com"
DELETE https://{endpoint}/v1/{project_id}/domains_mapping?pull_domain=play.example.huawei.com&push_domain=publish.example.huawei.com 响应示例 状态码: 400
https://{endpoint}/v1/{project_id}/domain/pull-sources { "play_domain" : "pull.example.test.com", "source_type" : "domain", "sources" : [ "example1
请求示例 修改播放域名延时配置。 PUT https://{endpoint}/v1/{project_id}/domain/delay { "play_domain" : "pull.example.test.com", "app" : "live", "delay"
https://{endpoint}/v1/{project_id}/domain/pull-sources?play_domain=pull.example.test.com 响应示例 状态码: 200 查询直播拉流回源配置成功 { "play_domain" : "pull.example.test.com"
/v1/{project_id}/domain/geo-blocking 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID,获取方法请参考获取项目ID。 表2 Query参数 参数 是否必选 参数类型 描述 play_domain 是 String 播放域名