Get Connection Count
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the number of active peer connections currently connected to this ONT node. This includes both incoming and outgoing connections to other nodes in the network.
Body
application/json
jsonrpcstringrequiredThe JSON-RPC protocol version. Must be "2.0" for JSON-RPC 2.0 specification compliance.
methodstringrequiredThe RPC method name. For this operation, it must be "getconnectioncount".
paramsarrayrequiredAn array of method parameters. This method takes no parameters, so an empty array is required.
idintegerrequiredA unique identifier for the request, used to correlate the response with the request.
Response
200OK
Successful response containing the number of active connections.