LATEST VERSION: 8.2.6 - CHANGELOG
Pivotal GemFire® v8.2

GET /gemfire-api/v1/servers

GET /gemfire-api/v1/servers

Mechanism to obtain a list of all members in the distributed system that are running 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 GemFire throws an error while executing the request.