/clients

  • GET /api/v1/clients

GET /api/v1/clients

Retrieve the list of remote clients.

Example request:

curl -X GET "http://localhost:4000/api/v1/clients" -H "accept: application/json"
GET /api/v1/clients HTTP/1.1
Host: localhost:4000
Accept: application/json, text/javascript

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json

[
  {
      "ip": "10.0.0.54",
      "numConn": 3
  }
]
Response Headers
  • Content-Type – application/json

Status Codes
Response JSON Array of Objects
  • ip (string) – The string representation of the IP address of the client.

  • numConn (integer) – The number of connections.