This topic describes an HTTP HEAD request in VMware Tanzu GemFire 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”.
http://<hostname_or_http-service-bind-address>:<http-service-port>/gemfire-api/v1/{region}
None.
Request Payload: null
HEAD /gemfire-api/v1/customers
Response Payload: null
200 OK
Content-Length: <#-of-bytes>
Content-Type: application/json; charset=utf-8
...
Resource-Count: 8192
Status Code | Description |
---|---|
400 Bad Request | Returned if Tanzu GemFire throws an error while executing the request. |
404 Resource Not Found | Region does not exist. |
500 Internal Server Error | Tanzu GemFire has thrown an error or exception. |