docs(api): inventory all SimAdmin operations
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: clear_call_history
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/call/history/clear
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: delete_call_history
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
delete {
|
||||
url: http://192.168.68.1:3000/api/call/history/1
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: get_airplane_mode
|
||||
type: http
|
||||
seq: 17
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/airplane-mode
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get APN List
|
||||
type: http
|
||||
seq: 80
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/apn
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: get_band_lock
|
||||
type: http
|
||||
seq: 28
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/band-lock
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get Call Forwarding
|
||||
type: http
|
||||
seq: 211
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/call/forwarding
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: get_call_history
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/call/history?limit=50&offset=0
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get Call Settings
|
||||
type: http
|
||||
seq: 213
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/call/settings
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get Call Volume
|
||||
type: http
|
||||
seq: 204
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/call/volume
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get Calls
|
||||
type: http
|
||||
seq: 100
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/calls
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: get_cell_location_info
|
||||
type: http
|
||||
seq: 25
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/location/cell-info
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: 获取小区锁定状态
|
||||
type: http
|
||||
seq: 70
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/cell-lock
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get_cells_info
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/cells
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
meta {
|
||||
name: get_connectivity
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/api/connectivity
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
docs {
|
||||
# 联网检测
|
||||
|
||||
通过 ping 检测 IPv4 和 IPv6 连通性。
|
||||
|
||||
## 响应示例
|
||||
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"message": "Connectivity check completed",
|
||||
"data": {
|
||||
"ipv4": {
|
||||
"success": true,
|
||||
"latency_ms": 12.5,
|
||||
"target": "223.5.5.5",
|
||||
"error": null
|
||||
},
|
||||
"ipv6": {
|
||||
"success": true,
|
||||
"latency_ms": 15.2,
|
||||
"target": "2400:3200::1",
|
||||
"error": null
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
}
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: get_cpu_info
|
||||
type: http
|
||||
seq: 23
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/stats/cpu
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: get_data_status
|
||||
type: http
|
||||
seq: 8
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/data
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get_device_ddns_config
|
||||
type: http
|
||||
seq: 80
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/device-network/ddns/config
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get_device_ddns_logs
|
||||
type: http
|
||||
seq: 84
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/device-network/ddns/logs
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get_device_ddns_status
|
||||
type: http
|
||||
seq: 82
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/device-network/ddns/status
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: get_device_info
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/device
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get_device_wlan_profiles
|
||||
type: http
|
||||
seq: 92
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/device-network/wlan/profiles
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get_device_wlan_status
|
||||
type: http
|
||||
seq: 85
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/device-network/wlan/status
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: get_health
|
||||
type: http
|
||||
seq: 16
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/health
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get IMS Status
|
||||
type: http
|
||||
seq: 203
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/ims/status
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: get_network_info
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/network
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: get_network_interfaces
|
||||
type: http
|
||||
seq: 26
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/network/interfaces
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get_notification_config
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/notifications/config
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get Operators
|
||||
type: http
|
||||
seq: 207
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/network/operators
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: Get OTA Status
|
||||
type: http
|
||||
seq: 200
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/ota/status
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
docs {
|
||||
获取 OTA 更新状态
|
||||
|
||||
返回信息:
|
||||
- current_version: 当前运行版本
|
||||
- current_commit: 当前 Git commit
|
||||
- pending_update: 是否有待安装的更新
|
||||
- pending_meta: 待安装更新的元数据(如果有)
|
||||
}
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: get_radio_mode
|
||||
type: http
|
||||
seq: 24
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/radio-mode
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: get_roaming_status
|
||||
type: http
|
||||
seq: 10
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/roaming
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get Signal Strength
|
||||
type: http
|
||||
seq: 201
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/network/signal-strength
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: get_sim_info
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/sim
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get SMS List
|
||||
type: http
|
||||
seq: 111
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/sms/list?limit=50&offset=0
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get SMS Stats
|
||||
type: http
|
||||
seq: 112
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/sms/stats
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
meta {
|
||||
name: get_stats
|
||||
type: http
|
||||
seq: 24
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/stats
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get Voicemail Status
|
||||
type: http
|
||||
seq: 206
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/voicemail/status
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: Answer Call
|
||||
type: http
|
||||
seq: 104
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/call/answer
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"path": "/ril_0/voicecall01"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: Dial Call
|
||||
type: http
|
||||
seq: 101
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/call/dial
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"phone_number": "10086"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: Hangup Call
|
||||
type: http
|
||||
seq: 102
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/call/hangup
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"path": "/ril_0/voicecall01"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Hangup All Calls
|
||||
type: http
|
||||
seq: 103
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/call/hangup-all
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
packages/operation-registry/test/fixtures/upstream-58e2204/bruno-api/post_device_ddns_logs_clear.bru
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: post_device_ddns_logs_clear
|
||||
type: http
|
||||
seq: 91
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/device-network/ddns/logs/clear
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: post_device_ddns_sync
|
||||
type: http
|
||||
seq: 83
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/device-network/ddns/sync
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: post_device_wlan_connect
|
||||
type: http
|
||||
seq: 87
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/device-network/wlan/connect
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"ssid": "Your-WiFi",
|
||||
"password": "your-password",
|
||||
"auto_join": true
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
packages/operation-registry/test/fixtures/upstream-58e2204/bruno-api/post_device_wlan_disconnect.bru
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: post_device_wlan_disconnect
|
||||
type: http
|
||||
seq: 89
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/device-network/wlan/disconnect
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: post_device_wlan_forget
|
||||
type: http
|
||||
seq: 93
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/device-network/wlan/forget
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"uuid": "saved-wifi-connection-uuid",
|
||||
"connection_id": "Saved WiFi"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: post_device_wlan_profile
|
||||
type: http
|
||||
seq: 90
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/device-network/wlan/profile
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"connection_id": "Your-WiFi",
|
||||
"auto_join": true,
|
||||
"ipv4_mode": "dhcp"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: post_device_wlan_scan
|
||||
type: http
|
||||
seq: 86
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/device-network/wlan/scan
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
meta {
|
||||
name: Apply OTA Update
|
||||
type: http
|
||||
seq: 202
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/ota/apply
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"restart_now": false
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
docs {
|
||||
应用已上传的 OTA 更新
|
||||
|
||||
参数:
|
||||
- restart_now: 是否立即重启服务(true/false)
|
||||
|
||||
注意:
|
||||
- 更新前必须先上传 OTA 包(/api/ota/upload)
|
||||
- restart_now=true 时,服务会在 1 秒后自动重启
|
||||
- restart_now=false 时,需要手动重启服务才能生效
|
||||
}
|
||||
|
||||
Vendored
+34
@@ -0,0 +1,34 @@
|
||||
meta {
|
||||
name: Apply OTA Update (with restart)
|
||||
type: http
|
||||
seq: 203
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/ota/apply
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"restart_now": true
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
docs {
|
||||
应用已上传的 OTA 更新并立即重启服务
|
||||
|
||||
参数:
|
||||
- restart_now: true(立即重启)
|
||||
|
||||
警告:
|
||||
- 执行此操作后,服务会在 1 秒后自动重启
|
||||
- 请确保已上传有效的 OTA 包
|
||||
- 重启期间所有连接会断开
|
||||
}
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
meta {
|
||||
name: Cancel Pending OTA Update
|
||||
type: http
|
||||
seq: 204
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/ota/cancel
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
docs {
|
||||
取消待安装的 OTA 更新
|
||||
|
||||
操作:
|
||||
- 清除暂存目录中的 OTA 包
|
||||
- 删除待安装的元数据
|
||||
|
||||
使用场景:
|
||||
- 上传了错误的 OTA 包
|
||||
- 验证失败后需要重新上传
|
||||
- 决定不进行更新
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Clear All SMS
|
||||
type: http
|
||||
seq: 113
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/sms/clear
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Send SMS
|
||||
type: http
|
||||
seq: 110
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/sms/send
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"phone_number": "10086",
|
||||
"content": "测试短信"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: post_system_reboot
|
||||
type: http
|
||||
seq: 32
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/system/reboot
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"delay_seconds": 3
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Register Operator Auto
|
||||
type: http
|
||||
seq: 210
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/network/register-auto
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: Register Operator Manual
|
||||
type: http
|
||||
seq: 209
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/network/register-manual
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"mccmnc": "46001"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Scan Operators (Slow)
|
||||
type: http
|
||||
seq: 208
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://192.168.68.1:3000/api/network/operators/scan
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: set_airplane_mode_disable
|
||||
type: http
|
||||
seq: 19
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/airplane-mode
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: set_airplane_mode_enable
|
||||
type: http
|
||||
seq: 18
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/airplane-mode
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
meta {
|
||||
name: Set APN Configuration
|
||||
type: http
|
||||
seq: 81
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/apn
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"context_path": "/ril_0/context2",
|
||||
"apn": "cbnet",
|
||||
"protocol": "dual",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"auth_method": "chap"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: set_band_lock_lte_b1_b3
|
||||
type: http
|
||||
seq: 29
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/band-lock
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"lte_fdd_bands": [1, 3],
|
||||
"lte_tdd_bands": [],
|
||||
"nr_fdd_bands": [],
|
||||
"nr_tdd_bands": []
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: set_band_lock_lte_nr_mix
|
||||
type: http
|
||||
seq: 31
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/band-lock
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"lte_fdd_bands": [1, 3, 8],
|
||||
"lte_tdd_bands": [38, 40, 41],
|
||||
"nr_fdd_bands": [1, 28],
|
||||
"nr_tdd_bands": [41, 77, 78, 79]
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: set_band_lock_nr_n78
|
||||
type: http
|
||||
seq: 30
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/band-lock
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"lte_fdd_bands": [],
|
||||
"lte_tdd_bands": [],
|
||||
"nr_fdd_bands": [],
|
||||
"nr_tdd_bands": [78]
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Set Call Forwarding
|
||||
type: http
|
||||
seq: 212
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/call/forwarding
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"forward_type": "unconditional",
|
||||
"number": "10086"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Set Call Settings
|
||||
type: http
|
||||
seq: 214
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/call/settings
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"property": "HideCallerId",
|
||||
"value": "default"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: Set Call Volume
|
||||
type: http
|
||||
seq: 205
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/call/volume
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"speaker_volume": 50,
|
||||
"microphone_volume": 50,
|
||||
"muted": false
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
meta {
|
||||
name: 锁定LTE小区
|
||||
type: http
|
||||
seq: 72
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/cell-lock
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"rat": 12,
|
||||
"enable": true,
|
||||
"arfcn": 100,
|
||||
"pci": 100
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
meta {
|
||||
name: 锁定NR小区
|
||||
type: http
|
||||
seq: 71
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/cell-lock
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"rat": 16,
|
||||
"enable": true,
|
||||
"arfcn": 633984,
|
||||
"pci": 599
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: set_data_status_disable
|
||||
type: http
|
||||
seq: 10
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/data
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"active": false
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: set_data_status_enable
|
||||
type: http
|
||||
seq: 9
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/data
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"active": true
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
Vendored
+54
@@ -0,0 +1,54 @@
|
||||
meta {
|
||||
name: set_device_ddns_config
|
||||
type: http
|
||||
seq: 81
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/device-network/ddns/config
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"enabled": true,
|
||||
"provider": "cloudflare",
|
||||
"access_id": "your-cloudflare-zone-id",
|
||||
"access_secret": "your-cloudflare-api-token",
|
||||
"interval_seconds": 300,
|
||||
"ttl": 600,
|
||||
"ipv4": {
|
||||
"enabled": true,
|
||||
"get_type": "interface",
|
||||
"interface_name": "eth0",
|
||||
"urls": [
|
||||
"https://api.ipify.org",
|
||||
"https://ip.3322.net",
|
||||
"https://4.ident.me",
|
||||
"https://ddns.oray.com/checkip",
|
||||
"https://4.ipw.cn"
|
||||
],
|
||||
"domains": [
|
||||
"home.example.com"
|
||||
]
|
||||
},
|
||||
"ipv6": {
|
||||
"enabled": false,
|
||||
"get_type": "interface",
|
||||
"interface_name": "wlan0",
|
||||
"urls": [
|
||||
"https://api6.ipify.org",
|
||||
"https://speed.neu6.edu.cn/getIP.php",
|
||||
"https://v6.ident.me",
|
||||
"https://myip6.ipip.net",
|
||||
"https://6.ipw.cn"
|
||||
],
|
||||
"domains": []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: set_device_wlan_enabled
|
||||
type: http
|
||||
seq: 88
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/device-network/wlan/enabled
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+44
@@ -0,0 +1,44 @@
|
||||
meta {
|
||||
name: set_notification_config
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/notifications/config
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"webhook": {
|
||||
"enabled": true,
|
||||
"url": "https://example.com/webhook",
|
||||
"forward_sms": true,
|
||||
"forward_calls": true,
|
||||
"forward_ddns": true,
|
||||
"headers": {
|
||||
"Authorization": "Bearer your-token"
|
||||
},
|
||||
"secret": "your-secret-key"
|
||||
},
|
||||
"bark": {
|
||||
"enabled": false,
|
||||
"forward_sms": true,
|
||||
"forward_calls": true,
|
||||
"forward_ddns": true,
|
||||
"server_url": "https://api.day.app",
|
||||
"device_key": "",
|
||||
"group": "",
|
||||
"sound": "",
|
||||
"level": "",
|
||||
"auto_copy": true,
|
||||
"save_history": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: set_radio_mode_auto
|
||||
type: http
|
||||
seq: 25
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/radio-mode
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"mode": "auto"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: set_radio_mode_lte
|
||||
type: http
|
||||
seq: 26
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/radio-mode
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"mode": "lte"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: set_radio_mode_nr
|
||||
type: http
|
||||
seq: 27
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/radio-mode
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"mode": "nr"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: set_roaming_disable
|
||||
type: http
|
||||
seq: 12
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/roaming
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"allowed": false
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: set_roaming_enable
|
||||
type: http
|
||||
seq: 11
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/roaming
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"allowed": true
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
Vendored
+35
@@ -0,0 +1,35 @@
|
||||
meta {
|
||||
name: test_notification_channel
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/notifications/test/{{channel}}
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
channel: webhook
|
||||
}
|
||||
|
||||
docs {
|
||||
# 测试指定通知渠道
|
||||
|
||||
`channel` 是通知渠道参数,不是独立接口名称。
|
||||
|
||||
可用值:
|
||||
- `webhook`
|
||||
- `bark`
|
||||
- `wecom_app`
|
||||
- `wecom_robot`
|
||||
- `dingtalk_robot`
|
||||
- `dingtalk_app`
|
||||
- `feishu_robot`
|
||||
- `telegram`
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: unlock_all_bands
|
||||
type: http
|
||||
seq: 32
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/band-lock
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"lte_fdd_bands": [],
|
||||
"lte_tdd_bands": [],
|
||||
"nr_fdd_bands": [],
|
||||
"nr_tdd_bands": []
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: 解锁所有小区
|
||||
type: http
|
||||
seq: 74
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/cell-lock/unlock-all
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
meta {
|
||||
name: 解锁NR小区
|
||||
type: http
|
||||
seq: 73
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/cell-lock
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"rat": 16,
|
||||
"enable": false
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user