文档
测试

获取域名

GET
http://domain/api/video/front/domain/lists?page=1&limit=10

接口描述

参数 ?page=1&limit=20

请求头

参数名
类型
描述
必填
Authorization
string
例如:Bearer token值
必填

请求参数

参数名
类型
描述
必填
domain
string
域名
可选
type
string
类型(推流=push或播放=play)
可选
page
int
当前页
可选
limit
int
每页数量
可选

响应参数

参数名
类型
描述
必填
id
int
域名id
必填
domain
string
域名
必填
type
string
类型(推流=push或播放=Play)
必填
cname
string
{userDomain}+{cnameDomain}
必填
scene
string
直播场景(标准直播,m3u8直播) standard,m3u8
必填
area
string
加速区域 global ,mainland_china
必填
bcname
int
1=正常 2=未配置或未生效
必填
status
int
1=正常 2=封禁 3=待审核
必填
Authorization
必填
Switch
必填
AuthKey
必填
AuthExp
必填
Https
json
type=play 时 返回
可选
Switch
enum
on=开启 off=关闭
必填
CertInfo
json
证书信息
必填
CertId
暂未使用
必填
CertName
string
名称
必填
Certificate
string
证书内容(base64)
必填
PrivateKey
string
证书密钥(base64)
必填
ExpireTime
int
到期时间(时间戳)
必填
Referer
type=play 时 返回
可选
Switch
必填
AllowEmpty
必填
RefererType
必填
RefererRules
必填
PortLimit
type=play 时 返回
可选
Switch
必填
Gbps
必填
PullConfig
type=play 时 返回
可选
Switch
必填
Protocol
必填
PullUrl
必填
created_at
datetime
添加时间
必填
updated_at
datetime
修改时间
必填

说明 / 示例

``` { "id":3, "domain":"play.cnevf.com", "type":"push", "cname":"play.cnevf.com.cname.com", "scene":"m3u8", "area":"global", "bcname":2, "status":1, "Authorization":{ "Switch":"off", "AuthKey":"12321312FA21312321", "AuthExp":600 }, "Https":{ "Switch":"on", "CertInfo":{ "CertId":1, "CertName":"cdn_test_cert", "Certificate":"base64(证书内容)", "PrivateKey":"base64(证书密钥)", "ExpireTime":1626748976 } }, "Referer":{ "Switch":"off", "AllowEmpty":"off", "RefererType":"whitelist", "RefererRules":[ "gmv.96u4bt0u33prmlf1xc5rbvez.live", "beta.6u4bt0u33prmlf1xc5rbvez.xzy", "test.u4bt0u33prmlf1xc5rbvezm.top", "dev.96u4bt0u33prmlf1xc5rbvez.lvm", "*.miyou1024.com", "*.miyou1024.love", "*.miyou1024.co" ] }, "PortLimit":{ "Switch":"off", "Gbps":100 }, "PullConfig":{ "Switch":"off", "Protocol":"rtmp", "PullUrl":"rtmp://dddd/aa/bb" }, "created_at":"2021-03-05 11:14:44", "updated_at":"2021-03-05 11:14:44" } ```