/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
200 OK – The list of clients was retrieved successfully.
503 Service Unavailable – The REST API cannot connect to ScaleOut StateServer service.
500 Internal Server Error – Internal error, see the JSON response for more information.
- Response JSON Array of Objects
ip (string) – The string representation of the IP address of the client.
numConn (integer) – The number of connections.