35 Star 227 Fork 115

合肥悟道科技有限责任公司 / 鹰眼系统-NodeJS版本基于GB28181的管理平台

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test-api.http 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
编程圈子 提交于 2024-01-29 15:01 . GB28181 播放远程录像
### 测试接口 管理员登陆
POST http://{{host}}/api/v1/admin/checkLogin
Content-Type: application/json
{
"username": "admin",
"password": "123456"
}
### 测试接口 管理员注销登陆
POST http://{{host}}/api/v1/admin/logout
Content-Type: application/json
{
}
### 测试保存配置接口
POST http://{{host}}/api/v1/setting/save
Content-Type: application/json
{
"sip_command_account" : "1234789",
"sip_command_password" : "12345678",
"server_realm" : "",
"sip_command_host" : "123",
"keep_alive" : 60
}
### 测试加载配置接口
GET http://{{host}}/api/v1/setting/load
Content-Type: application/json
{
}
### 测试获取gb28181在线列表,实际是constant.registry的缓存值
GET http://{{host}}/api/v1/service/getClients
Content-Type: application/json
X-Token: {{token}}
{
}
### 获取所有设备列表
GET http://{{host}}/api/v1/device/list
Content-Type: application/json
X-Token: {{token}}
{
}
### 查询registry缓存内容
GET http://{{host}}/api/v1/channel/registry
Content-Type: application/json
X-Token: {{token}}
{
}
### 请求catalog目录
GET http://{{host}}/api/v1/device/catalog?parentId=34020000001320002204
Content-Type: application/json
X-Token: {{token}}
{
}
### 请求deviceInfo
GET http://{{host}}/api/v1/device/deviceInfo?parentId=34020000001320002204
Content-Type: application/json
X-Token: {{token}}
{
}
NodeJS
1
https://gitee.com/hfwudao/GB28181_Node_Http.git
git@gitee.com:hfwudao/GB28181_Node_Http.git
hfwudao
GB28181_Node_Http
鹰眼系统-NodeJS版本基于GB28181的管理平台
master

搜索帮助