/regions

  • GET /api/v1/regions

GET /api/v1/regions

Retrieve a collection of heat map items each representing a partition’s status in the store.

Example request:

curl -X GET "http://localhost:4000/api/v1/regions" -H "accept: application/json"
GET /regions HTTP/1.1
Host: localhost:4000
Accept: application/json, text/javascript

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json

{
  "status": [
    1,
    1,
    1
  ],
  "host": [
    "10.0.0.175",
    "10.0.0.175",
    "10.0.0.175"
  ]
}
Response Headers
  • Content-Type – application/json

Status Codes
  • 200 OK – The heat map was retrieved successfully

Response JSON Object
  • status (array) – The integer representation of the heat map status for each given partition

  • host (array) – The string representation of the IP address of the associated host