Skip to main content

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 CodeDescription
400 Bad RequestReturned if Geode throws an error while executing the request.
404 Resource Not FoundRegion does not exist.
500 Internal Server ErrorGeode has thown an error or exception.