隧道管理

编辑隧道

post/tunnel/edit

Request body

idinteger required

隧道 ID

notestring

隧道备注

local_ipstring

本地 IP

local_portinteger

本地端口

extrastring

额外参数列表

Example request

{
  "id": 114514,
  "note": "SampleTunnel",
  "local_ip": "127.0.0.1",
  "local_port": 114514,
  "extra": "key=value\nkey2=value2"
}

Response

服务端处理后的参数

extrastring required

处理后的额外参数列表

Example response

{
  "extra": "key=value\nkey2=value2"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.