GET /geode/v1/servers
Mechanism to obtain a list of all members in the cluster that are running the REST API service.
Resource URL
http://<hostname_or_http-service-bind-address>:<http-service-port>/geode/v1/servers
Parameters
None.
Example Request
Request Payload: null
Request: GET /geode/v1/servers
Response Payload: application/json
Example Success Response
200 OK
Content-Length: <#-of-bytes>
Content-Type: application/json; charset=utf-8
[
"http://<HOST_NAME1>:<PORT1>",
"http://<HOST_NAME2>:<PORT2>",
"http://<HOST_NAME3>:<PORT3>",
"http://<HOST_NAME4>:<PORT4>"
]
Error Codes
Status Code | Description |
---|---|
500 INTERNAL SERVER ERROR | Returned if Geode throws an error while executing the request. |