This topic describes the GET command in VMware Tanzu GemFire to obtain a list of all members in the cluster that run the REST API service.
http://<hostname_or_http-service-bind-address>:<http-service-port>/gemfire-api/v1/servers
None.
Request Payload: null
Request: GET /gemfire-api/v1/servers
Response Payload: application/json
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>"
]
Status Code | Description |
---|---|
500 INTERNAL SERVER ERROR | Returned if Tanzu GemFire throws an error while executing the request. |