NGINX · JSON Structure

Plus Http Api Nginx Http Location Zones Map Structure

Status data for all HTTP location zones.

Type: object Properties: 0
API GatewayCachingCloud NativeLoad BalancerOpen SourceReverse ProxyWeb Server

HTTP Location Zones is a JSON Structure definition published by NGINX. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "HTTP Location Zones",
  "description": "Status data for all HTTP\n<a href=\"https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone\">location zones</a>.\n",
  "type": "object",
  "additionalProperties": {
    "$ref": "#/definitions/NginxHTTPLocationZone"
  },
  "example": {
    "site1": {
      "requests": 736395,
      "responses": {
        "1xx": 0,
        "2xx": 727290,
        "3xx": 4614,
        "4xx": 934,
        "5xx": 1535,
        "codes": {
          "200": 727290,
          "301": 4614,
          "404": 934,
          "503": 1535
        },
        "total": 734373
      },
      "discarded": 2020,
      "received": 180157219,
      "sent": 20183175459
    },
    "site2": {
      "requests": 185307,
      "responses": {
        "1xx": 0,
        "2xx": 112674,
        "3xx": 45383,
        "4xx": 2504,
        "5xx": 4419,
        "codes": {
          "200": 112674,
          "301": 45383,
          "404": 2504,
          "503": 4419
        },
        "total": 164980
      },
      "discarded": 20326,
      "received": 51575327,
      "sent": 2983241510
    }
  }
}