GoWVP
  1. 国标设备
GoWVP
  • 控制台
    • 服务器状态
      GET
  • 推流列表
    • 添加推流通道
      POST
    • 删除推流通道
      DELETE
    • 编辑推流通道
      PUT
    • 查询推流通道列表
      GET
  • 拉流代理
    • 添加拉流代理
      POST
    • 添加拉流代理
      DELETE
    • 编辑拉流代理
      PUT
    • 查询拉流代理列表
      GET
  • 国标设备
    • 通道
      • 查询播放地址
      • 查询通道列表
    • 添加设备
      POST
    • 查询设备列表
      GET
    • 删除设备
      DELETE
    • 编辑设备
      PUT
    • 查询设备详情
      GET
    • 查询通道树
      GET
  • 配置管理
    • 查询配置信息
      GET
    • 修改 sip 配置
      PUT
    • 查询流媒体列表
      GET
    • 修改流媒体配置
      PUT
  1. 国标设备

查询通道树

开发中
GET
/devices/channels

请求参数

无

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://test-cn.your-api-server.com/devices/channels'

返回响应

🟢200成功
application/json
Body
items
array [object {19}] 
必需
id
string 
可选
device_id
string 
可选
name
string 
可选
trasnport
string 
可选
stream_mode
integer 
可选
ip
string 
可选
port
integer 
可选
is_online
boolean 
可选
registered_at
string 
可选
keepalive_at
string 
可选
keepalives
integer 
可选
expires
integer 
可选
channels
integer 
可选
created_at
string 
可选
updated_at
string 
可选
password
string 
可选
address
string 
可选
ext
object 
可选
children
array [object {10}] 
可选
total
integer 
必需
示例
{"items":[{"id":"gbeusgn","device_id":"34020000001120000005","name":"","trasnport":"tcp","stream_mode":1,"ip":"","port":0,"is_online":true,"registered_at":"2025-06-14 14:07:57","keepalive_at":"2025-06-14 14:07:57","keepalives":0,"expires":120,"channels":2,"created_at":"2025-06-14 06:07:57","updated_at":"2025-06-14 14:07:59","password":"","address":"192.168.1.190:42831","ext":{"manufacturer":"Happytimesoft","model":"HTIPC","firmware":"V1.0","name":"gb28181"},"children":[{"id":"ch4x6tz","did":"gbeusgn","device_id":"34020000001120000005","channel_id":"34020000001310000001","name":"通道测试","ptztype":0,"is_online":true,"ext":{"manufacturer":"Happytimesoft","model":"IPC","firmware":"","name":""},"created_at":"2025-06-14 06:07:59","updated_at":"2025-06-14 06:07:59"},{"id":"chwocue","did":"gbeusgn","device_id":"34020000001120000005","channel_id":"34020000001310000002","name":"channel test","ptztype":0,"is_online":true,"ext":{"manufacturer":"Happytimesoft","model":"IPC","firmware":"","name":""},"created_at":"2025-06-14 06:07:59","updated_at":"2025-06-14 06:07:59"}]}],"total":1}
修改于 2025-06-14 06:01:49
上一页
查询设备详情
下一页
查询配置信息
Built with