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/false,
            "node_id": 123,
            "rule_id": 3,
        },
        {
            "source_node_name": "香港 IEPL [02]",
            "source_host": "hk-2.example.com",
            "source_port": 18889,
            "target_host": "subdomain2.example.com",
            "target_port": 9999,
            "protocol_identical": true/false,
            "node_id": 124,
            "rule_id": 4,
        }
    ]
}

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

Request Body

Name
Type
Description

access_token*

String

node_id*

Number

target_host*

String

target_port*

Number

protocol_identical*

Boolean

{
    "ret": 200,
    "msg": "cusrelay rule added successfully"
}

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

Request Body

Name
Type
Description

access_token*

String

rule_id*

Number

{
    "ret": 200,
    "msg": "cusrelay rule deleted successfully"
}

最后更新于