Files
tizi/mihomo.http
T
2026-07-11 01:36:10 +08:00

181 lines
3.2 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.
#@api = http://192.168.1.75:7898
#@api = http://10.10.10.1:7898
@api = http://127.0.0.1:7898
@secret =
###
GET {{api}}/version
### metacubexd
POST {{api}}/upgrade/ui
###
GET {{api}}/configs
###
PUT {{api}}/configs?force=true
Content-Type: application/json
{
"path": "/ae/service/tizi/config/config2.yaml",
"payload": ""
}
### rule
PATCH {{api}}/configs
Content-Type: application/json
{
"mode": "rule"
}
### global
PATCH {{api}}/configs
Content-Type: application/json
{
"mode": "global"
}
### direct
PATCH {{api}}/configs
Content-Type: application/json
{
"mode": "direct"
}
### info
PATCH {{api}}/configs
Content-Type: application/json
{
"log-level": "info"
}
### debug
PATCH {{api}}/configs
Content-Type: application/json
{
"log-level": "debug"
}
### fake-ip
POST {{api}}/cache/fakeip/flush
### DNS
POST {{api}}/cache/dns/flush
### Mihomo
POST {{api}}/restart
Content-Type: application/json
{
"path": "",
"payload": ""
}
### metacubexd
POST {{api}}/upgrade/ui
### GEO
POST {{api}}/upgrade/geo
Content-Type: application/json
{
"path": "",
"payload": ""
}
### Mihomo
POST {{api}}/upgrade
Content-Type: application/json
{
"path": "",
"payload": ""
}
### Mihomo
POST {{api}}/upgrade?force=true
Content-Type: application/json
{
"path": "",
"payload": ""
}
### release Mihomo
POST {{api}}/upgrade?channel=release
Content-Type: application/json
{
"path": "",
"payload": ""
}
###
GET {{api}}/proxies
### 🚀
GET {{api}}/proxies/%F0%9F%9A%80%E8%8A%82%E7%82%B9%E9%80%89%E6%8B%A9
### 🚀 DIRECT
PUT {{api}}/proxies/%F0%9F%9A%80%E8%8A%82%E7%82%B9%E9%80%89%E6%8B%A9
Content-Type: application/json
{
"name": "DIRECT"
}
### 🚀 🐟
PUT {{api}}/proxies/%F0%9F%9A%80%E8%8A%82%E7%82%B9%E9%80%89%E6%8B%A9
Content-Type: application/json
{
"name": "🐟"
}
###
DELETE {{api}}/proxies/%F0%9F%9A%80%E8%8A%82%E7%82%B9%E9%80%89%E6%8B%A9
###
GET {{api}}/group/%F0%9F%9A%80%E8%8A%82%E7%82%B9%E9%80%89%E6%8B%A9/delay?url=http://cp.cloudflare.com/generate_204&timeout=5000
###
GET {{api}}/connections
###
DELETE {{api}}/connections
###
GET {{api}}/rules
### Provider
GET {{api}}/providers/proxies
### Provider
PUT {{api}}/providers/proxies/provider_name
### Provider
GET {{api}}/providers/proxies/provider_name/healthcheck
### Provider
GET {{api}}/providers/rules
### Provider
PUT {{api}}/providers/rules/provider_name
### DNS A
GET {{api}}/dns/query?name=google.com&type=A
### DNS AAAA
GET {{api}}/dns/query?name=google.com&type=AAAA
### GC
PUT {{api}}/debug/gc