WuKongIM Docs

Resolve Gateway addresses

Operation boundary

  • Caller: Trusted backend only
GET/route

Returns the configured public or intranet addresses; node aliases are checked in node_id, nodeId, nodeID order.

Query Parameters

node_id?integer

Preferred node selector; when supplied it must identify a configured node with an ID greater than 0.

Formatuint64
Range1 <= value
nodeId?integer
Deprecated

Legacy nodeId alias, read only when node_id is absent.

Formatuint64
Range1 <= value
nodeID?integer
Deprecated

Legacy nodeID alias, read only when both node_id and nodeId are absent.

Formatuint64
Range1 <= value
intranet?integer

Address-scope selector; any parseable non-zero integer selects intranet addresses, while invalid text behaves as 0 and selects public addresses.

Default0

Response Body

application/json

application/json

application/json

{  "tcp_addr": "string",  "ws_addr": "string",  "wss_addr": "string"}