GET /gemfire-api/v1/servers

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.

Resource URL

http://<hostname_or_http-service-bind-address>:<http-service-port>/gemfire-api/v1/servers

Parameters

None.

Example Request

Request Payload: null
Request: GET /gemfire-api/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 Tanzu GemFire throws an error while executing the request.
check-circle-line exclamation-circle-line close-line
Scroll to top icon