查询边缘节点列表
更新时间:2022-09-21
接口描述
本接口用于查询EVS空间配置信息。
请求结构
GET /v1/edge HTTP/1.1
x-bce-date: 2020-03-25T09:28:13Z
host: evs.bj.baidubce.com
content-type: application/json
authorization: bce-auth-v1/e8e4a9ced6794355a9a1b8a20b58d37b/2020-03-25T09:28:13Z/1800/content-type;host;x-date/4a1692dc4bab84f5801f79ea0c1fece3601cf73ecd94409d2a94b3942b971715
请求头域
除公共头域外,无其它特殊头域。
请求参数
无
响应头域
除公共头域外,无其它特殊头域。
响应参数
参数名称 | 类型 | 描述 |
---|---|---|
edges | Map<String, List |
节点集合map类型,key为节点所在区域,value为节点详细信息列表 |
节点详情信息(Edge)
参数名称 | 类型 | 描述 |
---|---|---|
edgeId | Integer | 边缘节点ID |
region | String | 边缘节点区域 |
city | String | 边缘节点城市名 |
serviceProvider | String | 边缘节点运营商 |
edgeName | String | 边缘节点名称 |
sipId | String | 国标server ID |
sipIp | String | 国标server IP |
sipProtocol | String | 传输层协议,UDP/TCP/ALL |
sipRealm | String | 国标server 域 |
ftpIp | String | ftp server IP |
ftpPort | Integer | ftp server Port |
visionIp | String | 节点视图库IP |
visionPort | Integer | 节点视图库Port |
functionDesc | Object | 节点配置信息 |
+protocol | Obejct | 支持接入的协议 |
++types | List | 协议类型 |
+record | Obejct | 录制配置 |
++enabled | Boolean | 是否支持录制 |
+thumbnail | Obejct | 截图配置 |
++enabled | Boolean | 是否支持截图 |
+ai | Obejct | AI配置 |
++enabled | Boolean | 是否支持AI |
++allAiType | Boolean | 是否支持所有AI类型 |
+storage | Obejct | 存储配置 |
++storageType | String | 支持存储类型 |
+transcode | Obejct | 转码配置 |
++enabled | Boolean | 是否支持转码配置 |
+operator | Obejct | 部署服务配置 |
++enabled | Boolean | 是否部署ai-shim模块 |
请求示例
GET /v1/edge HTTP/1.1
x-bce-date: 2020-03-25T09:28:13Z
host: evs.bj.baidubce.com
content-type: application/json
authorization: bce-auth-v1/e8e4a9ced6794355a9a1b8a20b58d37b/2020-03-25T09:28:13Z/1800/content-type;host;x-date/4a1692dc4bab84f5801f79ea0c1fece3601cf73ecd94409d2a94b3942b971715
响应示例
HTTP/1.1 200 OK
Transfer-Encoding: chunked
x-bce-request-id: 012b9747-f13a-4a2c-a488-02b221844dca
Cache-Control: no-cache
Server: BWS
Date: Tue, 24 Mar 202 013:34:07 GMT
Content-Type: application/json;charset=UTF-8
{
"edges": {
"华北": [
{
"edgeId": 1,
"region": "NORTH_CHINA",
"city": "BAODING",
"serviceProvider": "CHINA_UNICOM",
"edgeName": "华北-保定-联通",
"sipId": "13060200492000000001",
"sipIp": "119.249.51.171",
"sipPort": 5060,
"sipProtocol": "UDP",
"sipRealm": "1306020049",
"ftpIp": "119.249.51.145",
"ftpPort": 21,
"visionIp": "127.0.0.1",
"visionPort": 0,
"functionDesc": {
"protocol": {
"types": [
"RTMP",
"GB28181",
"ONVIF",
"RTSP",
"BVCP",
"BVCPSDK"
]
},
"record": {
"enabled": true
},
"thumbnail": {
"enabled": true
},
"ai": {
"enabled": true,
"allAiType": true
},
"storage": {
"storageType": "S3"
},
"transcode": {
"enabled": true
},
"operator": {
"enabled": true
}
}
}
],
"华南": [
{
"edgeId": 7,
"region": "SOUTH_CHINA",
"city": "GUANGZHOU",
"serviceProvider": "CHINA_MOBILE",
"edgeName": "华南-广州-移动",
"sipId": "13060200882000000001",
"sipIp": "120.232.171.76",
"sipPort": 5060,
"sipProtocol": "UDP",
"sipRealm": "1306020088",
"ftpIp": "120.232.171.41",
"ftpPort": 21,
"visionIp": "127.0.0.1",
"visionPort": 0,
"functionDesc": {
"protocol": {
"types": [
"RTMP",
"GB28181",
"ONVIF",
"RTSP",
"BVCP",
"BVCPSDK"
]
},
"record": {
"enabled": true
},
"thumbnail": {
"enabled": true
},
"ai": {
"enabled": true,
"allAiType": true
},
"storage": {
"storageType": "S3"
},
"transcode": {
"enabled": true
},
"operator": {
"enabled": true
}
}
},
{
"edgeId": 8,
"region": "SOUTH_CHINA",
"city": "JIANGMEN",
"serviceProvider": "CHINA_TELECOM",
"edgeName": "华南-江门-电信",
"sipId": "13060200882000000001",
"sipIp": "113.96.158.55",
"sipPort": 5060,
"sipProtocol": "UDP",
"sipRealm": "1306020088",
"ftpIp": "113.96.158.67",
"ftpPort": 21,
"visionIp": "113.96.158.39",
"visionPort": 8667,
"functionDesc": {
"protocol": {
"types": [
"RTMP",
"GB28181",
"ONVIF",
"RTSP",
"BVCP",
"BVCPSDK"
]
},
"record": {
"enabled": true
},
"thumbnail": {
"enabled": true
},
"ai": {
"enabled": true,
"allAiType": true
},
"storage": {
"storageType": "S3"
},
"transcode": {
"enabled": true
},
"operator": {
"enabled": true
}
}
}
],
"华东": [
{
"edgeId": 2,
"region": "EAST_CHINA",
"city": "NINGBO",
"serviceProvider": "CHINA_TELECOM",
"edgeName": "华东-宁波-电信",
"sipId": "33020000492000000001",
"sipIp": "115.231.179.229",
"sipPort": 5060,
"sipProtocol": "UDP",
"sipRealm": "3302000049",
"ftpIp": "",
"ftpPort": 0,
"visionIp": "127.0.0.1",
"visionPort": 0,
"functionDesc": {
"protocol": {
"types": [
"RTMP",
"GB28181",
"ONVIF",
"RTSP",
"BVCP",
"BVCPSDK"
]
},
"record": {
"enabled": true
},
"thumbnail": {
"enabled": true
},
"ai": {
"enabled": false,
"allAiType": false
},
"storage": {
"storageType": "S3"
},
"transcode": {
"enabled": true
},
"operator": {
"enabled": false
}
}
}
],
"华中": [
{
"edgeId": 3,
"region": "CENTRAL_CHINA",
"city": "YUEYANG",
"serviceProvider": "CHINA_TELECOM",
"edgeName": "华中-岳阳-电信",
"sipId": "43060000492000000001",
"sipIp": "220.168.184.163",
"sipPort": 5060,
"sipProtocol": "UDP",
"sipRealm": "4306000049",
"ftpIp": "",
"ftpPort": 0,
"visionIp": "127.0.0.1",
"visionPort": 0,
"functionDesc": {
"protocol": {
"types": [
"RTMP",
"GB28181",
"ONVIF",
"RTSP",
"BVCP",
"BVCPSDK"
]
},
"record": {
"enabled": true
},
"thumbnail": {
"enabled": true
},
"ai": {
"enabled": false,
"allAiType": false
},
"storage": {
"storageType": "S3"
},
"transcode": {
"enabled": true
},
"operator": {
"enabled": false
}
}
}
]
}
}
错误码
参考公共错误码