Link API 参考

Link API。

共 8 个端点,其中 3 个只读。每一个都同时是 orbit 命令行中的命令、SDK 中的方法和 MCP 服务器上的工具。

01

通用

端点权限参数CLI · MCP 工具
GET /link/pops
Landing points a tunnel can use
只读—orbit link pops
link_pops
GET /link/tunnels
List your tunnels
只读—orbit link list
link_list
POST /link/tunnels
Create a tunnel (the credential is returned once)
读写请求体: name* string, pop_id* integer, pop_id2 integer, local_url* stringorbit link create
link_create
GET /link/tunnels/{id}
One tunnel
只读id integerorbit link get <id>
link_get
PATCH /link/tunnels/{id}
Rename, move landing point, change the local address, enable or disable
读写id integer
请求体: name* string, pop_id* integer, pop_id2 integer, local_url* string
orbit link patch <id>
link_patch
DELETE /link/tunnels/{id}
Delete a tunnel and free its address
读写id integerorbit link delete <id>
link_delete
PUT /link/tunnels/{id}/hostnames
Set the hostnames a tunnel serves (idempotent; creates, repoints and removes the Shield sites it manages)
读写id integer
请求体: managed_by* string, hostnames* string[], adopt boolean
orbit link hostnames <id>
link_hostnames
POST /link/tunnels/{id}/token
Rotate the tunnel credential
读写id integerorbit link token <id>
link_token
继续

相关文档

账户 API 参考

Orbit API 中 账户 的全部 10 个端点:方法与路径、所需令牌权限、参数,以及对应的命令行命令与 MCP 工具。

组织 API 参考

Orbit API 中 组织 的全部 10 个端点:方法与路径、所需令牌权限、参数,以及对应的命令行命令与 MCP 工具。

服务 API 参考

Orbit API 中 服务 的全部 15 个端点:方法与路径、所需令牌权限、参数,以及对应的命令行命令与 MCP 工具。

← 全部文档