Apache Geode CHANGELOG

HEAD /geode/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>/geode/v1/{region}

Parameters

None.

Example Request

Request Payload: null
HEAD /geode/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 Geode throws an error while executing the request.
404 Resource Not Found Region does not exist.
500 Internal Server Error Geode has thown an error or exception.