首次提交
This commit is contained in:
+476
@@ -0,0 +1,476 @@
|
||||
|
||||
|
||||
# @ip = 192.168.1.175
|
||||
# @port = 9081
|
||||
# @prefix = api/
|
||||
|
||||
@ip = localhost
|
||||
@port = 80
|
||||
@prefix = api/
|
||||
|
||||
### aircraftlist.json
|
||||
GET http://{{ip}}:{{port}}/aircraftlist.json
|
||||
|
||||
### aircraftlist.json
|
||||
GET http://192:168.205.116/aircraftlist.json
|
||||
|
||||
|
||||
|
||||
### aircraft_list aircraftlist.json 默认版本使用默认数据源
|
||||
GET http://192.168.205.116:9081/aircraftlist.json
|
||||
|
||||
|
||||
### aircraft_list aircraftlist.json 默认版本使用默认数据源
|
||||
GET http://27.216.218.236:9081/aircraftlist.json
|
||||
|
||||
### aircraft_list aircraftlist.json 的带数据源版本
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}aircraft_list
|
||||
Authorization: 123
|
||||
|
||||
{
|
||||
"data_source_key": "binary_data48__2025-01-06.222333"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### 获取错误日志
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_debug_log
|
||||
|
||||
{
|
||||
"serial_number": 3
|
||||
}
|
||||
|
||||
|
||||
### 获取错误日志
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_mode_s_basic_config
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### 获取飞机基础信息
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_aircraft_base_info
|
||||
|
||||
{
|
||||
"data_source_key": "radcap24",
|
||||
"icao": "71C510"
|
||||
}
|
||||
|
||||
### 获取飞机详细信息
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_general_info
|
||||
|
||||
|
||||
|
||||
### 获取飞机详细信息
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_aircraft_detail_info
|
||||
|
||||
{
|
||||
"data_source_key": "radcap24",
|
||||
"icao": "71C510"
|
||||
}
|
||||
|
||||
### 获取飞机轨迹 最后的几个
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_aircraft_track_list
|
||||
|
||||
{
|
||||
"data_source_key": "binary_data48__2025-01-06.2",
|
||||
"icao": "780C6D",
|
||||
"last_size":106
|
||||
}
|
||||
|
||||
|
||||
|
||||
### 获取飞机在某个时间点之后
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_aircraft_list_after
|
||||
Authorization: 123
|
||||
|
||||
{
|
||||
"timestamp": 1743407092
|
||||
}
|
||||
|
||||
|
||||
### 请求飞机变更列表
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}aircraft_change_list
|
||||
Authorization: 123
|
||||
|
||||
{
|
||||
"data_source_key": "binary_data48__2025-01-06.222333"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#### 版本
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}version
|
||||
Authorization: 123
|
||||
|
||||
### 登录
|
||||
#{
|
||||
# "status": 200,
|
||||
# "data": {
|
||||
# "status": true
|
||||
# }
|
||||
#}
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}login
|
||||
Content-Type: application/json
|
||||
Authorization: 123
|
||||
|
||||
{
|
||||
"account": "admin",
|
||||
"password": "123"
|
||||
}
|
||||
|
||||
### 获取多点服务器配置
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_mlat_server_config
|
||||
|
||||
|
||||
### 设置多点服务器配置
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}set_mlat_server_config
|
||||
|
||||
{
|
||||
"ip": "192.168.1.24",
|
||||
"port": 1111,
|
||||
"id": 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
### 基站位置
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_base_station_location
|
||||
Authorization: 123
|
||||
|
||||
{
|
||||
"data_source_key": "radcap254"
|
||||
}
|
||||
|
||||
|
||||
### 获取 设备配置
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_device_config
|
||||
Content-Type: application/json
|
||||
Authorization: 123
|
||||
|
||||
###
|
||||
GET http://192.168.208.191/ui/map
|
||||
###
|
||||
GET http://192.168.208.191/
|
||||
|
||||
|
||||
|
||||
|
||||
### 设置 设备配置
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}set_device_config
|
||||
Content-Type: application/json
|
||||
Authorization: 123
|
||||
|
||||
{
|
||||
"net": [
|
||||
{
|
||||
"key": "device",
|
||||
"ip": "192.168.1.193",
|
||||
"netmask": "255.255.255.0",
|
||||
"gateway": "192.168.1.1",
|
||||
"port": 80
|
||||
},
|
||||
{
|
||||
"key": "wifi",
|
||||
"ip": "192.168.10.193",
|
||||
"netmask": "255.255.255.0",
|
||||
"gateway": "192.168.10.1",
|
||||
"port": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
### 获取 数据源 整体
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_mode_s_data_source_config
|
||||
|
||||
### 获取基站
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_base_station_location
|
||||
|
||||
{
|
||||
"data_source_key": "radcap254"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
### 获取 全部 数据馈送 端口配置
|
||||
@data_feed_name = data_feed
|
||||
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_data_feed_config
|
||||
Content-Type: application/json
|
||||
Authorization: 123
|
||||
|
||||
|
||||
|
||||
|
||||
### 获取 全部 数据馈送 端口配置
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}aircraft_change_list
|
||||
Content-Type: application/json
|
||||
|
||||
|
||||
### 设置数据馈送端口配置
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}update_{{data_feed_name}}
|
||||
Content-Type: application/json
|
||||
Authorization: 123
|
||||
|
||||
{
|
||||
"key": "Port_10005",
|
||||
"enable": false,
|
||||
"net_send_type": "TCP_Client",
|
||||
"url": "0.0.0.0",
|
||||
"port": 10005,
|
||||
"output_format": "BIN",
|
||||
"use_status": true,
|
||||
"mode_s_output_type": "NO_POS_Mode_S",
|
||||
"use_mode_ac": false
|
||||
}
|
||||
|
||||
### 查
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}search_{{data_feed_name}}
|
||||
Content-Type: application/json
|
||||
Authorization: 123
|
||||
|
||||
{
|
||||
"key": "Port_10003"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
### 数据源-数据馈送-关系配置相关项目
|
||||
@relation_name = source_feed_relation
|
||||
### 查全体
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_{{relation_name}}_config
|
||||
|
||||
|
||||
### 查
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}search_{{relation_name}}
|
||||
|
||||
{
|
||||
"key":"1"
|
||||
}
|
||||
|
||||
### 增
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}insert_{{relation_name}}
|
||||
|
||||
### 删
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}remove_{{relation_name}}
|
||||
|
||||
### 改
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}update_{{relation_name}}
|
||||
|
||||
### 上移
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}rise_{{relation_name}}
|
||||
|
||||
### 下移
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}fall_{{relation_name}}
|
||||
|
||||
|
||||
### 多点定位相关接口
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_mlat_list
|
||||
|
||||
|
||||
|
||||
### 多点定位相关接口
|
||||
GET http://192.168.1.75/tiles/0.png
|
||||
###
|
||||
GET http://192.168.1.75/tiles/3/-3/1.png
|
||||
|
||||
|
||||
### 多点定位相关接口
|
||||
GET http://127.0.0.1/tiles/0.png
|
||||
|
||||
|
||||
|
||||
|
||||
// DSP 相关接口
|
||||
|
||||
### DSP 获取数据
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_dsp_data
|
||||
Authorization: 123
|
||||
|
||||
### 更新
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}update_dsp
|
||||
Authorization: 123
|
||||
|
||||
{
|
||||
"port": 80
|
||||
"center_freq": 80
|
||||
"band_width": 80
|
||||
"sample_rate": 80
|
||||
}
|
||||
|
||||
### 获取
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_dsp_config
|
||||
Authorization: 123
|
||||
|
||||
### 获取
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_dsp_data
|
||||
|
||||
### 获取
|
||||
GET http://127.0.0.1:80/hello
|
||||
|
||||
### 获取
|
||||
GET http://{{ip}}:{{port}}
|
||||
### 获取
|
||||
GET http://{{ip}}:{{port}}/tiles/3/-3/1.png
|
||||
|
||||
### 获取
|
||||
GET http://{{ip}}:{{port}}/assets/index-emIKMKOm.js
|
||||
|
||||
###
|
||||
GET http://{{ip}}:{{port}}/lightningchart-js/lcjs.theme.js
|
||||
###
|
||||
http://localhost:8848/api/method/test
|
||||
|
||||
### 获取
|
||||
POST http://192.168.1.110:9081/api/get_dsp_data
|
||||
|
||||
|
||||
### 开始录制
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}start_record_iq_stream
|
||||
|
||||
{
|
||||
dir: "C:\wyc\plantSunCat\build"
|
||||
file_name: "test.txt"
|
||||
}
|
||||
|
||||
|
||||
### 结束录制
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}end_record_iq_stream
|
||||
|
||||
### 结束录制
|
||||
GET http://{{ip}}:{{port}}/aircraftlist.json
|
||||
|
||||
### 结束录制
|
||||
POST http://{{ip}}:{{port}}/download_iq
|
||||
|
||||
###
|
||||
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_dsp_config
|
||||
|
||||
|
||||
|
||||
###
|
||||
|
||||
GET http://{{ip}}:{{port}}/get_debug_info
|
||||
|
||||
###
|
||||
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}version
|
||||
|
||||
###
|
||||
GET http://192.168.1.112:9081/get_debug_info
|
||||
|
||||
###
|
||||
GET http://{{ip}}:{{port}}/tiles/3/-2/-1.png
|
||||
|
||||
|
||||
###
|
||||
|
||||
POST http://{{ip}}:{{port}}/let_oom
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://{{ip}}:{{port}}/let_dump
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
###
|
||||
POST http://192.168.1.114:9081/let_dump
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://192.168.1.110:9081/api/version
|
||||
|
||||
###
|
||||
POST http://192.168.1.114:9081/let_oom
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
###
|
||||
POST http://192.168.204.116:9081/api/get_data_feed_server_connect
|
||||
|
||||
{
|
||||
"key": "mode_acs_shared_memory"
|
||||
}
|
||||
|
||||
|
||||
###
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}get_data_source_connect
|
||||
|
||||
{
|
||||
"key": "mode_acs_shared_memory"
|
||||
}
|
||||
|
||||
|
||||
|
||||
#### 在线升级
|
||||
#POST http://{{ip}}:{{port}}/{{prefix}}import_version
|
||||
#Content-Type: multipart/form-data; boundary=----CLION_BOUNDARY
|
||||
#
|
||||
#------CLION_BOUNDARY
|
||||
#Content-Disposition: form-data; name="file"; filename="v1.0.2.zip"
|
||||
#Content-Type: application/octet-stream
|
||||
#
|
||||
#< C:\Users\wyc\Desktop\version_control\v1.0.2.zip
|
||||
#------CLION_BOUNDARY--
|
||||
|
||||
|
||||
### 在线升级(纯内存解压)
|
||||
POST http://192.168.1.102:9081/{{prefix}}import_version
|
||||
Content-Type: application/zip
|
||||
dir: v1.0.2
|
||||
|
||||
< C:/Users/wyc/Desktop/version_control/v1.0.2.zip
|
||||
|
||||
### 在线升级(纯内存解压)
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}import_version
|
||||
Content-Type: application/zip
|
||||
dir: v1.0.2
|
||||
|
||||
< C:/Users/wyc/Desktop/version_control/v1.0.2.zip
|
||||
|
||||
### 导出日志(下载 logs)
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}export_logs
|
||||
|
||||
### 导出版本(下载 zip)
|
||||
POST http://{{ip}}:{{port}}/{{prefix}}export_version
|
||||
|
||||
|
||||
|
||||
|
||||
### 重启设备
|
||||
POST http://192.168.1.102:9081/{{prefix}}restart_device
|
||||
|
||||
|
||||
###
|
||||
GET https://planespotters.live/api/aircraft/hex/780F0E?icaoType=B738
|
||||
|
||||
|
||||
###
|
||||
GET https://planespotters.live/api/aircraft/hex/780F0E
|
||||
|
||||
###
|
||||
GET https://planespotters.live/api/radar/trace/8963e5
|
||||
|
||||
###
|
||||
GET https://planespotters.live/api/radar/trace/780F0E
|
||||
|
||||
###
|
||||
GET https://t.plnspttrs.net/09923/1733381_73bcce8cad_280.jpg
|
||||
Reference in New Issue
Block a user