List of available network IDs
POST /server/v1/network/list
Authentication: required (see Overview)
Queries the network IDs available to this app. No request parameters.
A network ID represents a different access route to the same service (such as “intranet”, “internet” or “private line”), configured by the deployer in the admin console.
When devices sit on different networks and need different routes, show the result of this API to end users to choose from,
then pass the selected net as-is to the net parameter of APIs such as “Get a channel join token” and “Get an IM token”;
when net is not passed, the one with is_default set to true is used. The default network ID is listed first.
Request parameters
None
Response parameters
Network ID, i.e. the plane name in “Network ID configuration” of the admin console; pass it as-is as net when the client gets a token or joins