Files
ECAP_Server/script/api.http
T
2026-06-25 15:44:25 +08:00

480 lines
8.1 KiB
HTTP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# @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