Mercurial > hg > nginx-site
comparison yaml/nginx_api.yaml @ 2221:45a2b90247ad
Added "status_zone" to the API module.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 24 Apr 2018 18:55:54 +0300 |
parents | f6e578b1b02d |
children | a89093ff86a3 |
comparison
equal
deleted
inserted
replaced
2220:896562a1ccde | 2221:45a2b90247ad |
---|---|
286 tags: | 286 tags: |
287 - HTTP Server Zones | 287 - HTTP Server Zones |
288 - Method GET | 288 - Method GET |
289 summary: Return status of all HTTP server zones | 289 summary: Return status of all HTTP server zones |
290 description: Returns status information for each HTTP | 290 description: Returns status information for each HTTP |
291 [server zone](https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone). | 291 [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone). |
292 operationId: getHttpServerZones | 292 operationId: getHttpServerZones |
293 produces: | 293 produces: |
294 - application/json | 294 - application/json |
295 parameters: | 295 parameters: |
296 - in: query | 296 - in: query |
908 tags: | 908 tags: |
909 - Stream Server Zones | 909 - Stream Server Zones |
910 - Method GET | 910 - Method GET |
911 summary: Return status of all stream server zones | 911 summary: Return status of all stream server zones |
912 description: Returns status information for each stream | 912 description: Returns status information for each stream |
913 [server zone](https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone). | 913 [server zone](https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone). |
914 operationId: getStreamServerZones | 914 operationId: getStreamServerZones |
915 produces: | 915 produces: |
916 - application/json | 916 - application/json |
917 parameters: | 917 parameters: |
918 - name: fields | 918 - name: fields |
1766 current: 4 | 1766 current: 4 |
1767 NginxHTTPServerZonesMap: | 1767 NginxHTTPServerZonesMap: |
1768 title: HTTP Server Zones | 1768 title: HTTP Server Zones |
1769 description: | | 1769 description: | |
1770 Status data for all HTTP | 1770 Status data for all HTTP |
1771 <a href="https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone">status zones</a>. | 1771 <a href="https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone">status zones</a>. |
1772 type: object | 1772 type: object |
1773 additionalProperties: | 1773 additionalProperties: |
1774 $ref: '#/definitions/NginxHTTPServerZone' | 1774 $ref: '#/definitions/NginxHTTPServerZone' |
1775 example: | 1775 example: |
1776 site1: | 1776 site1: |
2628 key3: value3 | 2628 key3: value3 |
2629 NginxStreamServerZonesMap: | 2629 NginxStreamServerZonesMap: |
2630 title: Stream Server Zones | 2630 title: Stream Server Zones |
2631 description: | | 2631 description: | |
2632 Status information for all stream | 2632 Status information for all stream |
2633 <a href="https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone">status zones</a>. | 2633 <a href="https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone">status zones</a>. |
2634 type: object | 2634 type: object |
2635 additionalProperties: | 2635 additionalProperties: |
2636 $ref: '#/definitions/NginxStreamServerZone' | 2636 $ref: '#/definitions/NginxStreamServerZone' |
2637 example: | 2637 example: |
2638 mysql-frontend: | 2638 mysql-frontend: |