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
        }
    ]
}

最后更新于