1 Star 0 Fork 132

50/NodeJS版本基于GB28181的管理平台

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
test-api.http 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
猿来这样 提交于 2022-02-08 23:24 . 适配调整 catalog 指令
### 测试接口 管理员登陆
POST http://{{host}}/api/v1/admin/checklogin
Content-Type: application/json
{
"username": "admin",
"password": "netgosmart123$$="
}
### 测试接口 管理员注销登陆
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}}
{
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/q50/GB28181_Node_Http.git
[email protected]:q50/GB28181_Node_Http.git
q50
GB28181_Node_Http
NodeJS版本基于GB28181的管理平台
master

搜索帮助