正在加载文档
最近更新时间: 2025-11-20 22:48:05
列举指定直播空间的所有下行域名(播放域名)
GET<bucket>.mls.cn-east-1.qiniumiku.com/| 参数名称 | 类型 | 必填 | 示例值 | 描述 |
|---|---|---|---|---|
| domain | string | 是 | domain | 域名配置 |
| 参数名称 | 类型 | 必填 | 示例值 | 描述 |
|---|---|---|---|---|
| Host | string | 是 | <bucket>.mls.cn-east-1.qiniumiku.com | 请求的服务域名 |
| Authorization | string | 是 | <QiniuToken> | 管理凭证 QiniuToken,生成规则 |
GET /?domain HTTP/1.1
Host: test.mls.cn-east-1.qiniumiku.com
Authorization: <QiniuToken>
Content-Type: application/json
{}{
"connectId": "YmgAAJw8RSp2S3kY",
"domains": [
{
"enable": true,
"domain": "www.example.com",
"cname": "www.example.com.subscribe.mikudns.com",
"type": "liveRtmp",
"auth": {
"type": "",
"enable": false,
"primaryKey": "",
"secondaryKey": "",
"expireSeconds": 0
},
"certificateID": "",
"creationDate": "2019-01-01T00:00:00.000+08:00",
"lastModified": "2019-01-01T00:00:00.000+08:00",
"httpsEnable": true
}
]
}| 参数名称 | 类型 | 说明 |
|---|---|---|
| connectId | string | 请求连接的唯一标识符 |
| domains | []object | 域名配置列表,详见 domain 对象 |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| enable | boolean | 是否启用该域名配置 |
| domain | string | 域名地址 |
| cname | string | CNAME 域名别名 |
| type | string | 域名类型(liveRtmp:rtmp 播放域名; liveHls:hls 播放域名; liveDash:dash 播放域名; liveFlv:flv 播放域名; whep:whep 播放域名; live:所有的播放协议共用一个域名; liveSrt:srt 播放域名) |
| auth | object | 防盗链配置,详见 auth 对象 |
| certificateID | string | HTTPS 证书 ID,只支持 whip 协议域名 |
| creationDate | string | 创建时间,遵循 ISO 8601 格式 |
| lastModified | string | 最后修改时间,遵循 ISO 8601 格式 |
| httpsEnable | boolean | 是否启用 HTTPS,只支持 whip 协议域名 |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| type | string | 防盗链类型 |
| enable | boolean | 是否启用防盗链 |
| primaryKey | string | 主密钥 |
| secondaryKey | string | 从密钥 |
| expireSeconds | integer | 防盗链过期时间 s |
这篇文档有帮助吗?
正在加载反馈服务…