HTTP Location Zones
Method GET
Return status of all HTTP location zones
Returns status information for each HTTP location zone.
get/http/location_zones/
Query parameters
fieldsstring
Limits which fields of location zones will be output. If the “<literal>fields</literal>” value is empty, then only zone names will be output.
Response
Success
NginxHTTPLocationZonesMap required
Status data for all HTTP <a href="https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone">location zones</a>.
Example response
{
"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
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.