查看指定通道信息
所有文档
menu

智能视联网平台 EVS

查看指定通道信息

产品详情立即开通

接口描述

本接口用于查看指定的GB28181设备通道。

请求(Request)

请求URI

GET /v1/device/channel/{channelId}

参数名称 类型 是否必需 描述
channelId Long 通道ID

请求头域

除公共头域外,无其它特殊头域。

请求体

无。

响应(Response)

响应头域

除公共头域外,无其它特殊头域。

响应体

参数名称 类型 描述
channelId Long 通道ID
channelName String 通道名称
channelGbId String 通道国标ID
channelStatus String 通道状态,STREAMING(拉流中)/DISABLE(禁止拉流)/FREE(空闲)
manufacturer String 设备厂商
appStream String 通道的app/stream名称

示例

请求示例

GET /v1/device/channel/1000920 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

{
    "channelId": 1000920,
    "channelName": "IP PTZ Camera-DAHUA-2-re",
    "channelGbId": "34020000001320000111"
    "channelStatus": "STREAMING",
    "manufacturer": "Dahua",
    "appStream": "live/34020000001310000111@34020000001320000111"
}

错误码

参考公共错误码。

上一篇
查看设备通道列表
下一篇
刷新指定通道