# HG changeset patch # User Yaroslav Zhuravlev # Date 1524585354 -10800 # Node ID 45a2b90247ad6b3e454ee4abd78d7cd5dccfb20b # Parent 896562a1ccde52cb19c460f505ae2f47f1472c38 Added "status_zone" to the API module. diff -r 896562a1ccde -r 45a2b90247ad xml/en/docs/http/ngx_http_api_module.xml --- a/xml/en/docs/http/ngx_http_api_module.xml Wed Aug 15 13:52:53 2018 +0300 +++ b/xml/en/docs/http/ngx_http_api_module.xml Tue Apr 24 18:55:54 2018 +0300 @@ -9,7 +9,7 @@ + rev="2">
@@ -159,6 +159,24 @@ + + +zone + +server +1.13.12 + + +Enables collection of virtual +http +or +stream +server status information in the specified zone. +Several servers may share the same zone. + + + +
@@ -473,7 +491,7 @@ GET - Return status of all HTTP server zones -Returns status information for each HTTP server zone. +Returns status information for each HTTP server zone. Request parameters: @@ -998,7 +1016,7 @@ GET - Return status of all stream server zones -Returns status information for each stream server zone. +Returns status information for each stream server zone. Request parameters: diff -r 896562a1ccde -r 45a2b90247ad xml/en/docs/http/ngx_http_api_module_head.xml --- a/xml/en/docs/http/ngx_http_api_module_head.xml Wed Aug 15 13:52:53 2018 +0300 +++ b/xml/en/docs/http/ngx_http_api_module_head.xml Tue Apr 24 18:55:54 2018 +0300 @@ -9,7 +9,7 @@ + rev="2">
@@ -159,6 +159,24 @@ + + +zone + +server +1.13.12 + + +Enables collection of virtual +http +or +stream +server status information in the specified zone. +Several servers may share the same zone. + + + +
diff -r 896562a1ccde -r 45a2b90247ad yaml/nginx_api.yaml --- a/yaml/nginx_api.yaml Wed Aug 15 13:52:53 2018 +0300 +++ b/yaml/nginx_api.yaml Tue Apr 24 18:55:54 2018 +0300 @@ -288,7 +288,7 @@ - Method GET summary: Return status of all HTTP server zones description: Returns status information for each HTTP - [server zone](https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone). + [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone). operationId: getHttpServerZones produces: - application/json @@ -910,7 +910,7 @@ - Method GET summary: Return status of all stream server zones description: Returns status information for each stream - [server zone](https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone). + [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone). operationId: getStreamServerZones produces: - application/json @@ -1768,7 +1768,7 @@ title: HTTP Server Zones description: | Status data for all HTTP - status zones. + status zones. type: object additionalProperties: $ref: '#/definitions/NginxHTTPServerZone' @@ -2630,7 +2630,7 @@ title: Stream Server Zones description: | Status information for all stream - status zones. + status zones. type: object additionalProperties: $ref: '#/definitions/NginxStreamServerZone'