LATEST VERSION: 8.1.0 - CHANGELOG
Pivotal GemFire® v8.1

HEAD /gemfire-api/v1/{region}

HEAD /gemfire-api/v1/{region}

An HTTP HEAD request that returns region's size (number of entries) within the HEADERS, which is a response without the content-body. Region size is specified in the pre-defined header named "Resource-Count".

Resource URL

http://<hostname_or_http-service-bind-address>:<http-service-port>/gemfire-api/v1/{region}

Parameters

None.

Example Request

Request Payload: null
HEAD /gemfire-api/v1/customers
Response Payload: null

Example Success Response

200 OK

Content-Length: <#-of-bytes>
Content-Type: application/json; charset=utf-8
...

Resource-Count: 8192

Error Codes

Status Code Description
400 Bad Request Returned if GemFire throws an error while executing the request.
404 Resource Not Found Region does not exist.
500 Internal Server Error GemFire has thown an error or exception.