LogoLogo
  • Welcome!
  • 基础
    • 节点介绍
    • 协议 / 端口
    • 耗电 / 延迟
    • 购买 / 续费 / 升级 / 切换
    • 按量付费
    • 用户权益
    • 高速数据传输 & 低速数据传输
    • 闲时倍率
  • 使用教程
    • Windows
      • Clash Verge
      • Clash for Windows
      • Netch(游戏/特殊)
    • macOS
      • Surge Pro
        • 增强模式
      • Clash Verge
      • ClashX Pro
        • 增强模式
    • Android
      • Surfboard
      • Clash for Android
      • sing-box
    • iOS
      • Surge
      • Shadowrocket
      • QuantumultX
      • sing-box
      • Quantumult
    • iPadOS
    • 路由器
      • Merlin
  • 进阶
    • 托管 / 订阅
      • 可选项参数
    • 流量中继(外部转发)
      • 自建独享落地节点
    • 跨区域流媒体解锁
      • various AI services
    • 端口限制
    • 内网穿透(访问家中设备)
  • 滥用
    • 多人共享
    • 对外扫描攻击
    • 公平使用政策
  • API
    • v1
      • Account
      • Managed
      • Nodes
由 GitBook 提供支持
在本页
  1. API
  2. v1

Nodes

POST https://dler.cloud/api/v1/nodes/cusrelay/getrules

Request Body

Name
Type
Description

access_token*

String

{
    "ret": 200,
    "msg": "success",
    "data": [
        {
            "source_node_name": "香港 IEPL [01]",
            "source_host": "hk-1.example.com",
            "source_port": 18888,
            "target_host": "subdomain1.example.com",
            "target_port": 8888,
            "protocol_identical": true
        },
        {
            "source_node_name": "香港 IEPL [02]",
            "source_host": "hk-2.example.com",
            "source_port": 18889,
            "target_host": "subdomain2.example.com",
            "target_port": 9999,
            "protocol_identical": false
        }
    ]
}

POST https://dler.cloud/api/v1/nodes/cusrelay/add

Request Body

Name
Type
Description

access_token*

String

{
    "ret": 200,
    "msg": "success",
    "data": [
        {
            "source_node_name": "香港 IEPL [01]",
            "source_host": "hk-1.example.com",
            "source_port": 18888,
            "target_host": "subdomain1.example.com",
            "target_port": 8888,
            "protocol_identical": true
        },
        {
            "source_node_name": "香港 IEPL [02]",
            "source_host": "hk-2.example.com",
            "source_port": 18889,
            "target_host": "subdomain2.example.com",
            "target_port": 9999,
            "protocol_identical": false
        }
    ]
}
上一页Managed

最后更新于4个月前