Mercurial > hg > nginx-site
changeset 2046:a810103f8a75
Changed summary and description style to flow scalar in yaml.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 27 Sep 2017 21:55:34 +0300 |
parents | ae16f480c867 |
children | 593dfdc524ae |
files | xml/en/docs/http/ngx_http_api_module.xml yaml/nginx_api.yaml |
diffstat | 2 files changed, 443 insertions(+), 1045 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_api_module.xml Wed Sep 06 15:15:40 2017 +0300 +++ b/xml/en/docs/http/ngx_http_api_module.xml Wed Sep 27 21:55:34 2017 +0300 @@ -170,7 +170,6 @@ <list type="bullet" compact="yes"> <listitem id="getAPIEndpoints"> <literal>GET</literal> - Return list of root endpoints - <para>Returns a list of root endpoints.</para> <para> Possible responses: @@ -189,9 +188,7 @@ <list type="bullet" compact="yes"> <listitem id="getNginx"> <literal>GET</literal> - Return status of nginx running instance - -<para>Returns nginx version, build name, address, -number of configuration reloads, IDs of master and worker processes.</para> +<para>Returns nginx version, build name, address, number of configuration reloads, IDs of master and worker processes.</para> <para> Request parameters: <list type="tag"> @@ -218,9 +215,7 @@ <list type="bullet" compact="yes"> <listitem id="getProcesses"> <literal>GET</literal> - Return nginx processes status - -<para>Returns the number of abnormally terminated -and respawned child processes.</para> +<para>Returns the number of abnormally terminated and respawned child processes.</para> <para> Possible responses: </para> @@ -230,9 +225,7 @@ </listitem> <listitem id="deleteProcesses"> <literal>DELETE</literal> - Reset nginx processes statistics - -<para>Resets counters of abnormally terminated and respawned -child processes.</para> +<para>Resets counters of abnormally terminated and respawned child processes.</para> <para> Possible responses: </para> @@ -250,7 +243,6 @@ <list type="bullet" compact="yes"> <listitem id="getConnections"> <literal>GET</literal> - Return client connections statistics - <para>Returns statistics of client connections.</para> <para> Request parameters: @@ -270,9 +262,7 @@ </listitem> <listitem id="deleteConnections"> <literal>DELETE</literal> - Reset client connections statistics - -<para>Resets statistics of accepted and dropped -client connections.</para> +<para>Resets statistics of accepted and dropped client connections.</para> <para> Possible responses: </para> @@ -290,7 +280,6 @@ <list type="bullet" compact="yes"> <listitem id="getSsl"> <literal>GET</literal> - Return SSL statistics - <para>Returns SSL statistics.</para> <para> Request parameters: @@ -310,7 +299,6 @@ </listitem> <listitem id="deleteSslStat"> <literal>DELETE</literal> - Reset SSL statistics - <para>Resets counters of SSL handshakes and session reuses.</para> <para> Possible responses: @@ -329,18 +317,14 @@ <list type="bullet" compact="yes"> <listitem id="getSlabs"> <literal>GET</literal> - Return status of all slabs - -<para>Returns status of slabs -for each shared memory zone with slab allocator.</para> +<para>Returns status of slabs for each shared memory zone with slab allocator.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>fields</literal> (<literal>string</literal>, optional)</tag-name> <tag-desc> -Limits which fields of slab zones will be output. -If the “<literal>fields</literal>” value is empty, -then only zone names are output.</tag-desc> +Limits which fields of slab zones will be output. If the “<literal>fields</literal>” value is empty, then only zone names are output.</tag-desc> </list> </para> <para> @@ -367,9 +351,7 @@ <list type="bullet" compact="yes"> <listitem id="getSlabZone"> <literal>GET</literal> - Return status of a slab - -<para>Returns status of slabs for a particular shared memory zone -with slab allocator.</para> +<para>Returns status of slabs for a particular shared memory zone with slab allocator.</para> <para> Request parameters: <list type="tag"> @@ -389,9 +371,7 @@ </listitem> <listitem id="deleteSlabZoneStats"> <literal>DELETE</literal> - Reset slab statistics - -<para>Resets the “<literal>reqs</literal>” and “<literal>fails</literal>” -metrics for each memory slot.</para> +<para>Resets the “<literal>reqs</literal>” and “<literal>fails</literal>” metrics for each memory slot.</para> <para> Possible responses: </para> @@ -410,7 +390,6 @@ <list type="bullet" compact="yes"> <listitem id="getHttp"> <literal>GET</literal> - Return list of HTTP-related endpoints - <para>Returns a list of first level HTTP endpoints.</para> <para> Possible responses: @@ -429,7 +408,6 @@ <list type="bullet" compact="yes"> <listitem id="getHttpRequests"> <literal>GET</literal> - Return HTTP requests statistics - <para>Returns status of client HTTP requests.</para> <para> Request parameters: @@ -437,8 +415,7 @@ <tag-name><literal>fields</literal> (<literal>string</literal>, optional)</tag-name> <tag-desc> -Limits which fields of client HTTP requests statistics -will be output.</tag-desc> +Limits which fields of client HTTP requests statistics will be output.</tag-desc> </list> </para> <para> @@ -450,7 +427,6 @@ </listitem> <listitem id="deleteHttpRequests"> <literal>DELETE</literal> - Reset HTTP requests statistics - <para>Resets the number of total client HTTP requests.</para> <para> Possible responses: @@ -469,18 +445,14 @@ <list type="bullet" compact="yes"> <listitem id="getHttpServerZones"> <literal>GET</literal> - Return status of all HTTP server zones - -<para>Returns status information for each HTTP -<link url="https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone">server zone</link>.</para> +<para>Returns status information for each HTTP <link url="https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone">server zone</link>.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>fields</literal> (<literal>string</literal>, optional)</tag-name> <tag-desc> -Limits which fields of server zones will be output. -If the “<literal>fields</literal>” value is empty, -then only server zone names are output.</tag-desc> +Limits which fields of server zones will be output. If the “<literal>fields</literal>” value is empty, then only server zone names are output.</tag-desc> </list> </para> <para> @@ -507,7 +479,6 @@ <list type="bullet" compact="yes"> <listitem id="getHttpServerZone"> <literal>GET</literal> - Return status of an HTTP server zone - <para>Returns status of a particular HTTP server zone.</para> <para> Request parameters: @@ -528,9 +499,7 @@ </listitem> <listitem id="deleteHttpServerZoneStat"> <literal>DELETE</literal> - Reset statistics for an HTTP server zone - -<para>Resets statistics of accepted and discarded requests, responses, -received and sent bytes in a particular HTTP server zone.</para> +<para>Resets statistics of accepted and discarded requests, responses, received and sent bytes in a particular HTTP server zone.</para> <para> Possible responses: </para> @@ -549,19 +518,14 @@ <list type="bullet" compact="yes"> <listitem id="getHttpCaches"> <literal>GET</literal> - Return status of all caches - -<para>Returns status of each cache configured by -<link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path">proxy_cache_path</link> -and other “<literal>*_cache_path</literal>” directives.</para> +<para>Returns status of each cache configured by <link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path">proxy_cache_path</link> and other “<literal>*_cache_path</literal>” directives.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>fields</literal> (<literal>string</literal>, optional)</tag-name> <tag-desc> -Limits which fields of cache zones will be output. -If the “<literal>fields</literal>” value is empty, -then only names of cache zones are output.</tag-desc> +Limits which fields of cache zones will be output. If the “<literal>fields</literal>” value is empty, then only names of cache zones are output.</tag-desc> </list> </para> <para> @@ -588,7 +552,6 @@ <list type="bullet" compact="yes"> <listitem id="getHttpCacheZone"> <literal>GET</literal> - Return status of a cache - <para>Returns status of a particular cache.</para> <para> Request parameters: @@ -609,7 +572,6 @@ </listitem> <listitem id="deleteHttpCacheZoneStat"> <literal>DELETE</literal> - Reset cache statistics - <para>Resets statistics of cache hits/misses in a particular cache zone.</para> <para> Possible responses: @@ -629,18 +591,14 @@ <list type="bullet" compact="yes"> <listitem id="getHttpUpstreams"> <literal>GET</literal> - Return status of all HTTP upstream server groups - -<para>Returns status of each HTTP upstream server group -and its servers.</para> +<para>Returns status of each HTTP upstream server group and its servers.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>fields</literal> (<literal>string</literal>, optional)</tag-name> <tag-desc> -Limits which fields of upstream server groups will be output. -If the “<literal>fields</literal>” value is empty, -only names of upstreams are output.</tag-desc> +Limits which fields of upstream server groups will be output. If the “<literal>fields</literal>” value is empty, only names of upstreams are output.</tag-desc> </list> </para> <para> @@ -667,9 +625,7 @@ <list type="bullet" compact="yes"> <listitem id="getHttpUpstreamName"> <literal>GET</literal> - Return status of an HTTP upstream server group - -<para>Returns status of a particular HTTP upstream server group -and its servers.</para> +<para>Returns status of a particular HTTP upstream server group and its servers.</para> <para> Request parameters: <list type="tag"> @@ -690,9 +646,7 @@ </listitem> <listitem id="deleteHttpUpstreamStat"> <literal>DELETE</literal> - Reset statistics of an HTTP upstream server group - -<para>Resets the statistics for each upstream server -in an upstream server group and queue statistics.</para> +<para>Resets the statistics for each upstream server in an upstream server group and queue statistics.</para> <para> Possible responses: </para> @@ -719,9 +673,7 @@ <list type="bullet" compact="yes"> <listitem id="getHttpUpstreamServers"> <literal>GET</literal> - Return configuration of all servers in an HTTP upstream server group - -<para>Returns configuration of each server -in a particular HTTP upstream server group.</para> +<para>Returns configuration of each server in a particular HTTP upstream server group.</para> <para> Possible responses: </para> @@ -733,19 +685,14 @@ </listitem> <listitem id="postHttpUpstreamServer"> <literal>POST</literal> - Add a server to an HTTP upstream server group - -<para>Adds a new server to an HTTP upstream server group. -Server parameters are specified in the JSON format.</para> +<para>Adds a new server to an HTTP upstream server group. Server parameters are specified in the JSON format.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>postHttpUpstreamServer</literal> (<link id="def_nginx_http_upstream_conf_server">HTTP Upstream Server</link>, required)</tag-name> <tag-desc> -Address of a new server and other optional parameters -in the JSON format. -The “<literal>ID</literal>”, “<literal>backup</literal>”, and “<literal>service</literal>” parameters -cannot be changed.</tag-desc> +Address of a new server and other optional parameters in the JSON format. The “<literal>ID</literal>”, “<literal>backup</literal>”, and “<literal>service</literal>” parameters cannot be changed.</tag-desc> </list> </para> <para> @@ -796,9 +743,7 @@ <list type="bullet" compact="yes"> <listitem id="getHttpUpstreamPeer"> <literal>GET</literal> - Return configuration of a server in an HTTP upstream server group - -<para>Returns configuration of a particular server -in the HTTP upstream server group.</para> +<para>Returns configuration of a particular server in the HTTP upstream server group.</para> <para> Possible responses: </para> @@ -812,19 +757,14 @@ </listitem> <listitem id="patchHttpUpstreamPeer"> <literal>PATCH</literal> - Modify a server in an HTTP upstream server group - -<para>Modifies settings of a particular server -in an HTTP upstream server group. -Server parameters are specified in the JSON format.</para> +<para>Modifies settings of a particular server in an HTTP upstream server group. Server parameters are specified in the JSON format.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>patchHttpUpstreamServer</literal> (<link id="def_nginx_http_upstream_conf_server">HTTP Upstream Server</link>, required)</tag-name> <tag-desc> -Server parameters, specified in the JSON format. -The “<literal>ID</literal>”, “<literal>backup</literal>”, and “<literal>service</literal>” parameters -cannot be changed.</tag-desc> +Server parameters, specified in the JSON format. The “<literal>ID</literal>”, “<literal>backup</literal>”, and “<literal>service</literal>” parameters cannot be changed.</tag-desc> </list> </para> <para> @@ -856,7 +796,6 @@ </listitem> <listitem id="deleteHttpUpstreamServer"> <literal>DELETE</literal> - Remove a server from an HTTP upstream server group - <para>Removes a server from an HTTP upstream server group.</para> <para> Possible responses: @@ -880,17 +819,14 @@ <list type="bullet" compact="yes"> <listitem id="getHttpKeyvalZones"> <literal>GET</literal> - Return key-value pairs from all keyval zones - -<para>Returns key-value pairs for each keyval shared memory -<link url="https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone">zone</link>.</para> +<para>Returns key-value pairs for each keyval shared memory <link url="https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone">zone</link>.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>fields</literal> (<literal>string</literal>, optional)</tag-name> <tag-desc> -If the “<literal>fields</literal>” value is empty, -then only keyval zone names are output.</tag-desc> +If the “<literal>fields</literal>” value is empty, then only keyval zone names are output.</tag-desc> </list> </para> <para> @@ -917,9 +853,7 @@ <list type="bullet" compact="yes"> <listitem id="getHttpKeyvalZoneKeysValues"> <literal>GET</literal> - Return key-value pairs from a keyval zone - -<para>Returns key-value pairs stored in a particular keyval shared memory -<link url="https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone">zone</link>.</para> +<para>Returns key-value pairs stored in a particular keyval shared memory <link url="https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone">zone</link>.</para> <para> Request parameters: <list type="tag"> @@ -940,20 +874,14 @@ </listitem> <listitem id="postHttpKeyvalZoneData"> <literal>POST</literal> - Add a key-value pair to the keyval zone - -<para>Adds a new key-value pair to the keyval shared memory -<link url="https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone">zone</link>. -Several key-value pairs can be entered -if the keyval shared memory zone is empty.</para> +<para>Adds a new key-value pair to the keyval shared memory <link url="https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone">zone</link>. Several key-value pairs can be entered if the keyval shared memory zone is empty.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>Key-value</literal> (<link id="def_nginx_http_keyval_zone">Keyval Shared Memory Zone</link>, required)</tag-name> <tag-desc> -A key-value pair is specified in the JSON format. -Several key-value pairs can be entered -if the keyval shared memory zone is empty.</tag-desc> +A key-value pair is specified in the JSON format. Several key-value pairs can be entered if the keyval shared memory zone is empty.</tag-desc> </list> </para> <para> @@ -971,9 +899,7 @@ </listitem> <listitem id="patchHttpKeyvalZoneKeyValue"> <literal>PATCH</literal> - Modify a key-value or delete a key - -<para>Changes the value of the selected key in the key-value pair -or deletes a key by setting the key value to <literal>null</literal>.</para> +<para>Changes the value of the selected key in the key-value pair or deletes a key by setting the key value to <literal>null</literal>.</para> <para> Request parameters: <list type="tag"> @@ -998,9 +924,7 @@ </listitem> <listitem id="deleteHttpKeyvalZoneData"> <literal>DELETE</literal> - Empty the keyval zone - -<para>Deletes all key-value pairs from the keyval shared memory -<link url="https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone">zone</link>.</para> +<para>Deletes all key-value pairs from the keyval shared memory <link url="https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone">zone</link>.</para> <para> Possible responses: </para> @@ -1019,7 +943,6 @@ <list type="bullet" compact="yes"> <listitem id="getStream"> <literal>GET</literal> - Return list of stream-related endpoints - <para>Returns a list of first level stream endpoints.</para> <para> Possible responses: @@ -1038,18 +961,14 @@ <list type="bullet" compact="yes"> <listitem id="getStreamServerZones"> <literal>GET</literal> - Return status of all stream server zones - -<para>Returns status information for each stream -<link url="https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone">server zone</link>.</para> +<para>Returns status information for each stream <link url="https://nginx.org/en/docs/http/ngx_http_status_module.html#status_zone">server zone</link>.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>fields</literal> (<literal>string</literal>, optional)</tag-name> <tag-desc> -Limits which fields of server zones will be output. -If the “<literal>fields</literal>” value is empty, -then only server zone names are output.</tag-desc> +Limits which fields of server zones will be output. If the “<literal>fields</literal>” value is empty, then only server zone names are output.</tag-desc> </list> </para> <para> @@ -1057,8 +976,7 @@ </para> <list type="bullet"> <listitem>200 - Success, returns a collection of "<link id="def_nginx_stream_server_zone">Stream Server Zone</link>" objects for all stream server zones </listitem> -<listitem>404 - <link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<listitem>404 - <link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> </list> @@ -1078,7 +996,6 @@ <list type="bullet" compact="yes"> <listitem id="getStreamServerZone"> <literal>GET</literal> - Return status of a stream server zone - <para>Returns status of a particular stream server zone.</para> <para> Request parameters: @@ -1095,23 +1012,19 @@ <list type="bullet"> <listitem>200 - Success, returns <link id="def_nginx_stream_server_zone">Stream Server Zone</link></listitem> <listitem>404 - Server zone not found (<literal>ServerZoneNotFound</literal>), -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> <listitem id="deleteStreamServerZoneStat"> <literal>DELETE</literal> - Reset statistics for a stream server zone - -<para>Resets statistics of accepted and discarded connections, sessions, -received and sent bytes in a particular stream server zone.</para> +<para>Resets statistics of accepted and discarded connections, sessions, received and sent bytes in a particular stream server zone.</para> <para> Possible responses: </para> <list type="bullet"> <listitem>204 - Success</listitem> <listitem>404 - Server zone not found (<literal>ServerZoneNotFound</literal>), -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> </list> @@ -1124,18 +1037,14 @@ <list type="bullet" compact="yes"> <listitem id="getStreamUpstreams"> <literal>GET</literal> - Return status of all stream upstream server groups - -<para>Returns status of each stream upstream server group -and its servers.</para> +<para>Returns status of each stream upstream server group and its servers.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>fields</literal> (<literal>string</literal>, optional)</tag-name> <tag-desc> -Limits which fields of upstream server groups will be output. -If the “<literal>fields</literal>” value is empty, -only names of upstreams are output.</tag-desc> +Limits which fields of upstream server groups will be output. If the “<literal>fields</literal>” value is empty, only names of upstreams are output.</tag-desc> </list> </para> <para> @@ -1143,8 +1052,7 @@ </para> <list type="bullet"> <listitem>200 - Success, returns a collection of "<link id="def_nginx_stream_upstream">Stream Upstream</link>" objects for all stream upstreams </listitem> -<listitem>404 - <link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<listitem>404 - <link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> </list> @@ -1164,9 +1072,7 @@ <list type="bullet" compact="yes"> <listitem id="getStreamUpstream"> <literal>GET</literal> - Return status of a stream upstream server group - -<para>Returns status of a particular stream upstream server group -and its servers.</para> +<para>Returns status of a particular stream upstream server group and its servers.</para> <para> Request parameters: <list type="tag"> @@ -1183,15 +1089,12 @@ <listitem>200 - Success, returns <link id="def_nginx_stream_upstream">Stream Upstream</link></listitem> <listitem>400 - Upstream is static (<literal>UpstreamStatic</literal>), returns <link id="def_nginx_error">Error</link></listitem> <listitem>404 - Upstream not found (<literal>UpstreamNotFound</literal>), -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> <listitem id="deleteStreamUpstreamStat"> <literal>DELETE</literal> - Reset statistics of a stream upstream server group - -<para>Resets the statistics for each upstream server -in an upstream server group.</para> +<para>Resets the statistics for each upstream server in an upstream server group.</para> <para> Possible responses: </para> @@ -1199,8 +1102,7 @@ <listitem>204 - Success</listitem> <listitem>400 - Upstream is static (<literal>UpstreamStatic</literal>), returns <link id="def_nginx_error">Error</link></listitem> <listitem>404 - Upstream not found (<literal>UpstreamNotFound</literal>), -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> </list> @@ -1220,9 +1122,7 @@ <list type="bullet" compact="yes"> <listitem id="getStreamUpstreamServers"> <literal>GET</literal> - Return configuration of all servers in a stream upstream server group - -<para>Returns configuration of each server -in a particular stream upstream server group.</para> +<para>Returns configuration of each server in a particular stream upstream server group.</para> <para> Possible responses: </para> @@ -1230,25 +1130,19 @@ <listitem>200 - Success, returns an array of <link id="def_nginx_stream_upstream_conf_server">Stream Upstream Servers</link></listitem> <listitem>400 - Upstream is static (<literal>UpstreamStatic</literal>), returns <link id="def_nginx_error">Error</link></listitem> <listitem>404 - Upstream not found (<literal>UpstreamNotFound</literal>), -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> <listitem id="postStreamUpstreamServer"> <literal>POST</literal> - Add a server to a stream upstream server group - -<para>Adds a new server to a stream upstream server group. -Server parameters are specified in the JSON format.</para> +<para>Adds a new server to a stream upstream server group. Server parameters are specified in the JSON format.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>postStreamUpstreamServer</literal> (<link id="def_nginx_stream_upstream_conf_server">Stream Upstream Server</link>, required)</tag-name> <tag-desc> -Address of a new server and other optional parameters -in the JSON format. -The “<literal>ID</literal>”, “<literal>backup</literal>”, and “<literal>service</literal>” parameters -cannot be changed.</tag-desc> +Address of a new server and other optional parameters in the JSON format. The “<literal>ID</literal>”, “<literal>backup</literal>”, and “<literal>service</literal>” parameters cannot be changed.</tag-desc> </list> </para> <para> @@ -1275,8 +1169,7 @@ upstream “<value>name</value>” has no backup (<literal>UpstreamNoBackup</literal>), upstream “<value>name</value>” memory exhausted (<literal>UpstreamOutOfMemory</literal>), returns <link id="def_nginx_error">Error</link></listitem> <listitem>404 - Upstream not found (<literal>UpstreamNotFound</literal>), -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> <listitem>415 - JSON error (<literal>JsonError</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> @@ -1301,9 +1194,7 @@ <list type="bullet" compact="yes"> <listitem id="getStreamUpstreamServer"> <literal>GET</literal> - Return configuration of a server in a stream upstream server group - -<para>Returns configuration of a particular server -in the stream upstream server group.</para> +<para>Returns configuration of a particular server in the stream upstream server group.</para> <para> Possible responses: </para> @@ -1313,25 +1204,19 @@ invalid server ID (<literal>UpstreamBadServerId</literal>), returns <link id="def_nginx_error">Error</link></listitem> <listitem>404 - Upstream not found (<literal>UpstreamNotFound</literal>), server with ID “<value>id</value>” does not exist (<literal>UpstreamServerNotFound</literal>), -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> <listitem id="patchStreamUpstreamServer"> <literal>PATCH</literal> - Modify a server in a stream upstream server group - -<para>Modifies settings of a particular server -in a stream upstream server group. -Server parameters are specified in the JSON format.</para> +<para>Modifies settings of a particular server in a stream upstream server group. Server parameters are specified in the JSON format.</para> <para> Request parameters: <list type="tag"> <tag-name><literal>patchStreamUpstreamServer</literal> (<link id="def_nginx_stream_upstream_conf_server">Stream Upstream Server</link>, required)</tag-name> <tag-desc> -Server parameters, specified in the JSON format. -The “<literal>ID</literal>”, “<literal>backup</literal>”, and “<literal>service</literal>” parameters -cannot be changed.</tag-desc> +Server parameters, specified in the JSON format. The “<literal>ID</literal>”, “<literal>backup</literal>”, and “<literal>service</literal>” parameters cannot be changed.</tag-desc> </list> </para> <para> @@ -1358,14 +1243,12 @@ upstream “<literal>name</literal>” memory exhausted (<literal>UpstreamOutOfMemory</literal>), returns <link id="def_nginx_error">Error</link></listitem> <listitem>404 - Upstream not found (<literal>UpstreamNotFound</literal>), server with ID “<value>id</value>” does not exist (<literal>UpstreamServerNotFound</literal>), -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> <listitem>415 - JSON error (<literal>JsonError</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> <listitem id="deleteStreamUpstreamServer"> <literal>DELETE</literal> - Remove a server from a stream upstream server group - <para>Removes a server from a stream server group.</para> <para> Possible responses: @@ -1377,8 +1260,7 @@ server “<value>id</value>” not removable (<literal>UpstreamServerImmutable</literal>), returns <link id="def_nginx_error">Error</link></listitem> <listitem>404 - Upstream not found (<literal>UpstreamNotFound</literal>), server with ID “<value>id</value>” does not exist (<literal>UpstreamServerNotFound</literal>), -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> -not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> +<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream">stream</link> not configured (<literal>StreamNotConfigured</literal>), returns <link id="def_nginx_error">Error</link></listitem> </list> </listitem> </list> @@ -1414,15 +1296,13 @@ <literal>generation</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of configuration -<link url="https://nginx.org/en/docs/control.html#reconfiguration">reloads</link>. +The total number of configuration <link url="https://nginx.org/en/docs/control.html#reconfiguration">reloads</link>. </tag-desc> <tag-name> <literal>load_timestamp</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Time of the last reload of configuration, -in milliseconds since Epoch. +Time of the last reload of configuration, in milliseconds since Epoch. </tag-desc> <tag-name> <literal>timestamp</literal> (<literal>string</literal>) @@ -1440,8 +1320,7 @@ <literal>ppid</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The ID of the master process that started the -<link url="https://nginx.org/en/docs/http/ngx_http_status_module.html#pid">worker process</link>. +The ID of the master process that started the <link url="https://nginx.org/en/docs/http/ngx_http_status_module.html#pid">worker process</link>. </tag-desc> </list> <para>Example:</para> @@ -1466,8 +1345,7 @@ <literal>respawned</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of abnormally terminated -and respawned child processes. +The total number of abnormally terminated and respawned child processes. </tag-desc> </list> <para>Example:</para> @@ -1636,15 +1514,13 @@ <literal>reqs</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of attempts -to allocate memory of specified size. +The total number of attempts to allocate memory of specified size. </tag-desc> <tag-name> <literal>fails</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The number of unsuccessful attempts -to allocate memory of specified size. +The number of unsuccessful attempts to allocate memory of specified size. </tag-desc> </list> </listitem> @@ -1678,8 +1554,7 @@ <literal>processing</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The number of client requests -that are currently being processed. +The number of client requests that are currently being processed. </tag-desc> <tag-name> <literal>requests</literal> (<literal>integer</literal>) @@ -1690,10 +1565,7 @@ <tag-name> <literal>responses</literal></tag-name> <tag-desc> -The total number of responses sent to clients and the -number of responses with status codes -“<literal>1xx</literal>”, “<literal>2xx</literal>”, “<literal>3xx</literal>”, -“<literal>4xx</literal>”, and “<literal>5xx</literal>”.<list type="tag"> +The total number of responses sent to clients and the number of responses with status codes “<literal>1xx</literal>”, “<literal>2xx</literal>”, “<literal>3xx</literal>”, “<literal>4xx</literal>”, and “<literal>5xx</literal>”.<list type="tag"> <tag-name> <literal>1xx</literal> (<literal>integer</literal>) </tag-name> @@ -1736,8 +1608,7 @@ <literal>discarded</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of -requests completed without sending a response. +The total number of requests completed without sending a response. </tag-desc> <tag-name> <literal>received</literal> (<literal>integer</literal>) @@ -1783,15 +1654,13 @@ <literal>max_size</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The limit on the maximum size of the cache -specified in the configuration. +The limit on the maximum size of the cache specified in the configuration. </tag-desc> <tag-name> <literal>cold</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> -A boolean value indicating whether the “cache loader” process -is still loading data from disk into the cache. +A boolean value indicating whether the “cache loader” process is still loading data from disk into the cache. </tag-desc> <tag-name> <literal>hit</literal></tag-name> @@ -1801,9 +1670,7 @@ <literal>responses</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of -<link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid">valid</link> - responses read from the cache. +The total number of <link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid">valid</link> responses read from the cache. </tag-desc> <tag-name> <literal>bytes</literal> (<literal>integer</literal>) @@ -1821,9 +1688,7 @@ <literal>responses</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of expired responses read from the cache (see -<link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale">proxy_cache_use_stale</link> -and other “<literal>*_cache_use_stale</literal>” directives). +The total number of expired responses read from the cache (see <link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale">proxy_cache_use_stale</link> and other “<literal>*_cache_use_stale</literal>” directives). </tag-desc> <tag-name> <literal>bytes</literal> (<literal>integer</literal>) @@ -1841,10 +1706,7 @@ <literal>responses</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of expired responses read from the cache -while responses were being updated (see -<link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale_updating">proxy_cache_use_stale</link> -and other “<literal>*_cache_use_stale</literal>” directives). +The total number of expired responses read from the cache while responses were being updated (see <link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale_updating">proxy_cache_use_stale</link> and other “<literal>*_cache_use_stale</literal>” directives). </tag-desc> <tag-name> <literal>bytes</literal> (<literal>integer</literal>) @@ -1862,10 +1724,7 @@ <literal>responses</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of expired and revalidated responses -read from the cache (see -<link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_revalidate">proxy_cache_revalidate</link> -and other “<literal>*_cache_revalidate</literal>” directives. +The total number of expired and revalidated responses read from the cache (see <link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_revalidate">proxy_cache_revalidate</link> and other “<literal>*_cache_revalidate</literal>” directives. </tag-desc> <tag-name> <literal>bytes</literal> (<literal>integer</literal>) @@ -1943,9 +1802,7 @@ <literal>responses</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of responses not looked up in the cache due to the -<link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_bypass">proxy_cache_bypass</link> -and other “<literal>*_cache_bypass</literal>” directives. +The total number of responses not looked up in the cache due to the <link url="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_bypass">proxy_cache_bypass</link> and other “<literal>*_cache_bypass</literal>” directives. </tag-desc> <tag-name> <literal>bytes</literal> (<literal>integer</literal>) @@ -2025,50 +1882,37 @@ <literal>server</literal> (<literal>string</literal>) </tag-name> <tag-desc> -An <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">address</link> -of the server. +An <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">address</link> of the server. </tag-desc> <tag-name> <literal>service</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#service">service</link> -parameter value of the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">server</link> -directive. +The <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#service">service</link> parameter value of the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">server</link> directive. </tag-desc> <tag-name> <literal>name</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The name of the server specified in the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">server</link> -directive. +The name of the server specified in the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">server</link> directive. </tag-desc> <tag-name> <literal>backup</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> -A boolean value indicating whether the server is a -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#backup">backup</link> -server. +A boolean value indicating whether the server is a <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#backup">backup</link> server. </tag-desc> <tag-name> <literal>weight</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#weight">Weight</link> -of the server. +<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#weight">Weight</link> of the server. </tag-desc> <tag-name> <literal>state</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Current state, which may be one of -“<literal>up</literal>”, “<literal>draining</literal>”, “<literal>down</literal>”, -“<literal>unavail</literal>”, “<literal>checking</literal>”, -and “<literal>unhealthy</literal>”. +Current state, which may be one of “<literal>up</literal>”, “<literal>draining</literal>”, “<literal>down</literal>”, “<literal>unavail</literal>”, “<literal>checking</literal>”, and “<literal>unhealthy</literal>”. </tag-desc> <tag-name> <literal>active</literal> (<literal>integer</literal>) @@ -2080,9 +1924,7 @@ <literal>max_conns</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_conns">max_conns</link> -limit for the server. +The <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_conns">max_conns</link> limit for the server. </tag-desc> <tag-name> <literal>requests</literal> (<literal>integer</literal>) @@ -2148,18 +1990,13 @@ <literal>fails</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of unsuccessful attempts -to communicate with the server. +The total number of unsuccessful attempts to communicate with the server. </tag-desc> <tag-name> <literal>unavail</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -How many times the server became unavailable for client requests -(state “<literal>unavail</literal>”) due to the number of unsuccessful -attempts reaching the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails">max_fails</link> -threshold. +How many times the server became unavailable for client requests (state “<literal>unavail</literal>”) due to the number of unsuccessful attempts reaching the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails">max_fails</link> threshold. </tag-desc> <tag-name> <literal>health_checks</literal></tag-name> @@ -2169,9 +2006,7 @@ <literal>checks</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_hc_module.html#health_check">health check</link> -requests made. +The total number of <link url="https://nginx.org/en/docs/http/ngx_http_upstream_hc_module.html#health_check">health check</link> requests made. </tag-desc> <tag-name> <literal>fails</literal> (<literal>integer</literal>) @@ -2183,16 +2018,13 @@ <literal>unhealthy</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -How many times the server became unhealthy -(state “<literal>unhealthy</literal>”). +How many times the server became unhealthy (state “<literal>unhealthy</literal>”). </tag-desc> <tag-name> <literal>last_passed</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> -Boolean indicating if the last health check request was successful -and passed -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_hc_module.html#match">tests</link>. +Boolean indicating if the last health check request was successful and passed <link url="https://nginx.org/en/docs/http/ngx_http_upstream_hc_module.html#match">tests</link>. </tag-desc> </list> </tag-desc> @@ -2200,39 +2032,31 @@ <literal>downtime</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Total time the server was in the “<literal>unavail</literal>”, -“<literal>checking</literal>”, and “<literal>unhealthy</literal>” states. +Total time the server was in the “<literal>unavail</literal>”, “<literal>checking</literal>”, and “<literal>unhealthy</literal>” states. </tag-desc> <tag-name> <literal>downstart</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The time (in milliseconds since Epoch) when the server became -“<literal>unavail</literal>”, “<literal>checking</literal>”, -or “<literal>unhealthy</literal>”. +The time (in milliseconds since Epoch) when the server became “<literal>unavail</literal>”, “<literal>checking</literal>”, or “<literal>unhealthy</literal>”. </tag-desc> <tag-name> <literal>selected</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The time (in milliseconds since Epoch) -when the server was last selected to process a request. +The time (in milliseconds since Epoch) when the server was last selected to process a request. </tag-desc> <tag-name> <literal>header_time</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The average time to get the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_header_time">response header</link> -from the server. +The average time to get the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_header_time">response header</link> from the server. </tag-desc> <tag-name> <literal>response_time</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The average time to get the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_response_time">full response</link> -from the server. +The average time to get the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_response_time">full response</link> from the server. </tag-desc> </list> </tag-desc> @@ -2240,31 +2064,24 @@ <literal>keepalive</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The current number of idle -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive">keepalive</link> -connections. +The current number of idle <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive">keepalive</link> connections. </tag-desc> <tag-name> <literal>zombies</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The current number of servers removed -from the group but still processing active client requests. +The current number of servers removed from the group but still processing active client requests. </tag-desc> <tag-name> <literal>zone</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The name of the shared memory -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#zone">zone</link> -that keeps the group’s configuration and run-time state. +The name of the shared memory <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#zone">zone</link> that keeps the group’s configuration and run-time state. </tag-desc> <tag-name> <literal>queue</literal></tag-name> <tag-desc> -For the requests -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#queue">queue</link>, -the following data are provided:<list type="tag"> +For the requests <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#queue">queue</link>, the following data are provided:<list type="tag"> <tag-name> <literal>size</literal> (<literal>integer</literal>) </tag-name> @@ -2275,8 +2092,7 @@ <literal>max_size</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The maximum number of requests that can be in the queue -at the same time. +The maximum number of requests that can be in the queue at the same time. </tag-desc> <tag-name> <literal>overflows</literal> (<literal>integer</literal>) @@ -2373,126 +2189,85 @@ <literal>id</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The ID of the HTTP upstream server. -The ID is assigned automatically and cannot be changed. +The ID of the HTTP upstream server. The ID is assigned automatically and cannot be changed. </tag-desc> <tag-name> <literal>server</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#address">address</link> -parameter of the HTTP upstream server. -When adding a server, it is possible to specify it as a domain name. -In this case, changes of the IP addresses -that correspond to a domain name will be monitored and automatically -applied to the upstream configuration -without the need of restarting nginx. -This requires the -<link url="https://nginx.org/en/docs/http/ngx_http_core_module.html#resolver">resolver</link> -directive in the “<literal>http</literal>” block. -See also the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#resolve">resolve</link> -parameter of the HTTP upstream server. +Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#address">address</link> parameter of the HTTP upstream server. When adding a server, it is possible to specify it as a domain name. In this case, changes of the IP addresses that correspond to a domain name will be monitored and automatically applied to the upstream configuration without the need of restarting nginx. This requires the <link url="https://nginx.org/en/docs/http/ngx_http_core_module.html#resolver">resolver</link> directive in the “<literal>http</literal>” block. See also the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#resolve">resolve</link> parameter of the HTTP upstream server. </tag-desc> <tag-name> <literal>service</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#service">service</link> -parameter of the HTTP upstream server. -This parameter cannot be changed. +Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#service">service</link> parameter of the HTTP upstream server. This parameter cannot be changed. </tag-desc> <tag-name> <literal>weight</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#weight">weight</link> -parameter of the HTTP upstream server. +Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#weight">weight</link> parameter of the HTTP upstream server. </tag-desc> <tag-name> <literal>max_conns</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_conns">max_conns</link> -parameter of the HTTP upstream server. +Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_conns">max_conns</link> parameter of the HTTP upstream server. </tag-desc> <tag-name> <literal>max_fails</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails">max_fails</link> -parameter of the HTTP upstream server. +Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails">max_fails</link> parameter of the HTTP upstream server. </tag-desc> <tag-name> <literal>fail_timeout</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#fail_timeout">fail_timeout</link> -parameter of the HTTP upstream server. +Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#fail_timeout">fail_timeout</link> parameter of the HTTP upstream server. </tag-desc> <tag-name> <literal>slow_start</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#slow_start">slow_start</link> -parameter of the HTTP upstream server. +Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#slow_start">slow_start</link> parameter of the HTTP upstream server. </tag-desc> <tag-name> <literal>route</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#route">route</link> -parameter of the HTTP upstream server. +Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#route">route</link> parameter of the HTTP upstream server. </tag-desc> <tag-name> <literal>backup</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> -When <literal>true</literal>, adds a -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#backup">backup</link> -server. -This parameter cannot be changed. +When <literal>true</literal>, adds a <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#backup">backup</link> server. This parameter cannot be changed. </tag-desc> <tag-name> <literal>down</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#down">down</link> -parameter of the HTTP upstream server. +Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#down">down</link> parameter of the HTTP upstream server. </tag-desc> <tag-name> <literal>parent</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Parent server ID of the resolved server. -The ID is assigned automatically and cannot be changed. +Parent server ID of the resolved server. The ID is assigned automatically and cannot be changed. </tag-desc> <tag-name> <literal>host</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Hostname of the resolved server. -The hostname is assigned automatically and cannot be changed. +Hostname of the resolved server. The hostname is assigned automatically and cannot be changed. </tag-desc> <tag-name> <literal>drain</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Puts the HTTP upstream server into the “draining” mode. -In this mode, only requests -<link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky">bound</link> -to the server will be proxied to it. -The parameter cannot be initially set, -it can only be changed with the <literal>PATCH</literal> method. +Puts the HTTP upstream server into the “draining” mode. In this mode, only requests <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky">bound</link> to the server will be proxied to it. The parameter cannot be initially set, it can only be changed with the <literal>PATCH</literal> method. </tag-desc> </list> <para>Example:</para> @@ -2527,8 +2302,7 @@ <literal>processing</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The number of client connections -that are currently being processed. +The number of client connections that are currently being processed. </tag-desc> <tag-name> <literal>connections</literal> (<literal>integer</literal>) @@ -2539,32 +2313,24 @@ <tag-name> <literal>sessions</literal></tag-name> <tag-desc> -Total number of completed sessions, -and the number of sessions completed with status codes -“<literal>2xx</literal>”, “<literal>4xx</literal>”, or “<literal>5xx</literal>”.<list type="tag"> +The total number of completed sessions, and the number of sessions completed with status codes “<literal>2xx</literal>”, “<literal>4xx</literal>”, or “<literal>5xx</literal>”.<list type="tag"> <tag-name> <literal>2xx</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of sessions completed with -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</link> -“<literal>2xx</literal>”. +The total number of sessions completed with <link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</link> “<literal>2xx</literal>”. </tag-desc> <tag-name> <literal>4xx</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of sessions completed with -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</link> -“<literal>4xx</literal>”. +The total number of sessions completed with <link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</link> “<literal>4xx</literal>”. </tag-desc> <tag-name> <literal>5xx</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of sessions completed with -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</link> -“<literal>5xx</literal>”. +The total number of sessions completed with <link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</link> “<literal>5xx</literal>”. </tag-desc> <tag-name> <literal>total</literal> (<literal>integer</literal>) @@ -2578,8 +2344,7 @@ <literal>discarded</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of -connections completed without creating a session. +The total number of connections completed without creating a session. </tag-desc> <tag-name> <literal>received</literal> (<literal>integer</literal>) @@ -2629,50 +2394,37 @@ <literal>server</literal> (<literal>string</literal>) </tag-name> <tag-desc> -An -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">address</link> -of the server. +An <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">address</link> of the server. </tag-desc> <tag-name> <literal>service</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#service">service</link> -parameter value of the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">server</link> -directive. +The <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#service">service</link> parameter value of the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">server</link> directive. </tag-desc> <tag-name> <literal>name</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The name of the server specified in the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">server</link> -directive. +The name of the server specified in the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">server</link> directive. </tag-desc> <tag-name> <literal>backup</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> -A boolean value indicating whether the server is a -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#backup">backup</link> -server. +A boolean value indicating whether the server is a <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#backup">backup</link> server. </tag-desc> <tag-name> <literal>weight</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#weight">Weight</link> -of the server. +<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#weight">Weight</link> of the server. </tag-desc> <tag-name> <literal>state</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Current state, which may be one of -“<literal>up</literal>”, “<literal>down</literal>”, “<literal>unavail</literal>”, -“<literal>checking</literal>”, or “<literal>unhealthy</literal>”. +Current state, which may be one of “<literal>up</literal>”, “<literal>down</literal>”, “<literal>unavail</literal>”, “<literal>checking</literal>”, or “<literal>unhealthy</literal>”. </tag-desc> <tag-name> <literal>active</literal> (<literal>integer</literal>) @@ -2684,9 +2436,7 @@ <literal>max_conns</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_conns">max_conns</link> -limit for the server. +The <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_conns">max_conns</link> limit for the server. </tag-desc> <tag-name> <literal>connections</literal> (<literal>integer</literal>) @@ -2728,18 +2478,13 @@ <literal>fails</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of unsuccessful attempts -to communicate with the server. +The total number of unsuccessful attempts to communicate with the server. </tag-desc> <tag-name> <literal>unavail</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -How many times the server became unavailable for client connections -(state “<literal>unavail</literal>”) due to the number of unsuccessful -attempts reaching the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails">max_fails</link> -threshold. +How many times the server became unavailable for client connections (state “<literal>unavail</literal>”) due to the number of unsuccessful attempts reaching the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails">max_fails</link> threshold. </tag-desc> <tag-name> <literal>health_checks</literal></tag-name> @@ -2749,9 +2494,7 @@ <literal>checks</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The total number of -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_hc_module.html#health_check">health check</link> -requests made. +The total number of <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_hc_module.html#health_check">health check</link> requests made. </tag-desc> <tag-name> <literal>fails</literal> (<literal>integer</literal>) @@ -2763,16 +2506,13 @@ <literal>unhealthy</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -How many times the server became unhealthy -(state “<literal>unhealthy</literal>”). +How many times the server became unhealthy (state “<literal>unhealthy</literal>”). </tag-desc> <tag-name> <literal>last_passed</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> -Boolean indicating whether the last health check request -was successful and passed -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_hc_module.html#match">tests</link>. +Boolean indicating whether the last health check request was successful and passed <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_hc_module.html#match">tests</link>. </tag-desc> </list> </tag-desc> @@ -2780,24 +2520,19 @@ <literal>downtime</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Total time the server was in the -“<literal>unavail</literal>”, “<literal>checking</literal>”, -and “<literal>unhealthy</literal>” states. +Total time the server was in the “<literal>unavail</literal>”, “<literal>checking</literal>”, and “<literal>unhealthy</literal>” states. </tag-desc> <tag-name> <literal>downstart</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The time (in milliseconds since Epoch) when the server became -“<literal>unavail</literal>”, “<literal>checking</literal>”, -or “<literal>unhealthy</literal>”. +The time (in milliseconds since Epoch) when the server became “<literal>unavail</literal>”, “<literal>checking</literal>”, or “<literal>unhealthy</literal>”. </tag-desc> <tag-name> <literal>selected</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The time (in milliseconds since Epoch) -when the server was last selected to process a connection. +The time (in milliseconds since Epoch) when the server was last selected to process a connection. </tag-desc> </list> </tag-desc> @@ -2805,16 +2540,13 @@ <literal>zombies</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The current number of servers removed from the group -but still processing active client connections. +The current number of servers removed from the group but still processing active client connections. </tag-desc> <tag-name> <literal>zone</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The name of the shared memory -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#zone">zone</link> -that keeps the group’s configuration and run-time state. +The name of the shared memory <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#zone">zone</link> that keeps the group’s configuration and run-time state. </tag-desc> </list> <para>Example:</para> @@ -2884,107 +2616,73 @@ <literal>id</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -The ID of the stream upstream server. -The ID is assigned automatically and cannot be changed. +The ID of the stream upstream server. The ID is assigned automatically and cannot be changed. </tag-desc> <tag-name> <literal>server</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">address</link> -parameter of the stream upstream server. -When adding a server, it is possible to specify it as a domain name. -In this case, changes of the IP addresses -that correspond to a domain name will be monitored and automatically -applied to the upstream configuration -without the need of restarting nginx. -This requires the -<link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#resolver">resolver</link> -directive in the “<literal>stream</literal>” block. -See also the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#resolve">resolve</link> -parameter of the stream upstream server. +Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">address</link> parameter of the stream upstream server. When adding a server, it is possible to specify it as a domain name. In this case, changes of the IP addresses that correspond to a domain name will be monitored and automatically applied to the upstream configuration without the need of restarting nginx. This requires the <link url="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#resolver">resolver</link> directive in the “<literal>stream</literal>” block. See also the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#resolve">resolve</link> parameter of the stream upstream server. </tag-desc> <tag-name> <literal>service</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#service">service</link> -parameter of the stream upstream server. -This parameter cannot be changed. +Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#service">service</link> parameter of the stream upstream server. This parameter cannot be changed. </tag-desc> <tag-name> <literal>weight</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#weight">weight</link> -parameter of the stream upstream server. +Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#weight">weight</link> parameter of the stream upstream server. </tag-desc> <tag-name> <literal>max_conns</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_conns">max_conns</link> -parameter of the stream upstream server. +Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_conns">max_conns</link> parameter of the stream upstream server. </tag-desc> <tag-name> <literal>max_fails</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails">max_fails</link> -parameter of the stream upstream server. +Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails">max_fails</link> parameter of the stream upstream server. </tag-desc> <tag-name> <literal>fail_timeout</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#fail_timeout">fail_timeout</link> -parameter of the stream upstream server. +Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#fail_timeout">fail_timeout</link> parameter of the stream upstream server. </tag-desc> <tag-name> <literal>slow_start</literal> (<literal>integer</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#slow_start">slow_start</link> -parameter of the stream upstream server. +Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#slow_start">slow_start</link> parameter of the stream upstream server. </tag-desc> <tag-name> <literal>backup</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> -When <literal>true</literal>, adds a -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#backup">backup</link> -server. -This parameter cannot be changed. +When <literal>true</literal>, adds a <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#backup">backup</link> server. This parameter cannot be changed. </tag-desc> <tag-name> <literal>down</literal> (<literal>boolean</literal>) </tag-name> <tag-desc> -Same as the -<link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#down">down</link> -parameter of the stream upstream server. +Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#down">down</link> parameter of the stream upstream server. </tag-desc> <tag-name> <literal>parent</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Parent server ID of the resolved server. -The ID is assigned automatically and cannot be changed. +Parent server ID of the resolved server. The ID is assigned automatically and cannot be changed. </tag-desc> <tag-name> <literal>host</literal> (<literal>string</literal>) </tag-name> <tag-desc> -Hostname of the resolved server. -The hostname is assigned automatically and cannot be changed. +Hostname of the resolved server. The hostname is assigned automatically and cannot be changed. </tag-desc> </list> <para>Example:</para> @@ -3044,9 +2742,7 @@ <literal>request_id</literal> (<literal>string</literal>) </tag-name> <tag-desc> -The ID of the request, equals the value of the -<link url="https://nginx.org/en/docs/http/ngx_http_core_module.html#var_request_id">$request_id</link> -variable. +The ID of the request, equals the value of the <link url="https://nginx.org/en/docs/http/ngx_http_core_module.html#var_request_id">$request_id</link> variable. </tag-desc> <tag-name> <literal>href</literal> (<literal>string</literal>)
--- a/yaml/nginx_api.yaml Wed Sep 06 15:15:40 2017 +0300 +++ b/yaml/nginx_api.yaml Wed Sep 27 21:55:34 2017 +0300 @@ -2,8 +2,7 @@ info: version: '1.0' title: NGINX Plus REST API - description: | - NGINX Plus REST + description: NGINX Plus REST [API](https://nginx.org/en/docs/http/ngx_http_api_module.html) provides access to NGINX Plus status information, on-the-fly configuration of upstream servers and @@ -37,10 +36,8 @@ tags: - General Info - Method GET - summary: | - Return list of root endpoints - description: | - Returns a list of root endpoints. + summary: Return list of root endpoints + description: Returns a list of root endpoints. operationId: getAPIEndpoints produces: - application/json @@ -54,10 +51,8 @@ tags: - General Info - Method GET - summary: | - Return status of nginx running instance - description: | - Returns nginx version, build name, address, + summary: Return status of nginx running instance + description: Returns nginx version, build name, address, number of configuration reloads, IDs of master and worker processes. operationId: getNginx produces: @@ -66,8 +61,7 @@ - in: query name: fields type: string - description: | - Limits which fields of nginx running instance will be output. + description: Limits which fields of nginx running instance will be output. responses: '200': description: Success @@ -78,10 +72,8 @@ tags: - Processes - Method GET - summary: | - Return nginx processes status - description: | - Returns the number of abnormally terminated + summary: Return nginx processes status + description: Returns the number of abnormally terminated and respawned child processes. operationId: getProcesses produces: @@ -95,10 +87,8 @@ tags: - Processes - Method DELETE - summary: | - Reset nginx processes statistics - description: | - Resets counters of abnormally terminated and respawned + summary: Reset nginx processes statistics + description: Resets counters of abnormally terminated and respawned child processes. operationId: deleteProcesses responses: @@ -109,10 +99,8 @@ tags: - Connections - Method GET - summary: | - Return client connections statistics - description: | - Returns statistics of client connections. + summary: Return client connections statistics + description: Returns statistics of client connections. operationId: getConnections produces: - application/json @@ -125,16 +113,13 @@ - in: query name: fields type: string - description: | - Limits which fields of the connections statistics will be output. + description: Limits which fields of the connections statistics will be output. delete: tags: - Connections - Method DELETE - summary: | - Reset client connections statistics - description: | - Resets statistics of accepted and dropped + summary: Reset client connections statistics + description: Resets statistics of accepted and dropped client connections. operationId: deleteConnections responses: @@ -145,10 +130,8 @@ tags: - SSL - Method GET - summary: | - Return SSL statistics - description: | - Returns SSL statistics. + summary: Return SSL statistics + description: Returns SSL statistics. operationId: getSsl produces: - application/json @@ -161,16 +144,13 @@ - in: query name: fields type: string - description: | - Limits which fields of SSL statistics will be output. + description: Limits which fields of SSL statistics will be output. delete: tags: - SSL - Method DELETE - summary: | - Reset SSL statistics - description: | - Resets counters of SSL handshakes and session reuses. + summary: Reset SSL statistics + description: Resets counters of SSL handshakes and session reuses. operationId: deleteSslStat responses: '204': @@ -180,10 +160,8 @@ tags: - Slabs - Method GET - summary: | - Return status of all slabs - description: | - Returns status of slabs + summary: Return status of all slabs + description: Returns status of slabs for each shared memory zone with slab allocator. operationId: getSlabs produces: @@ -192,8 +170,7 @@ - in: query name: fields type: string - description: | - Limits which fields of slab zones will be output. + description: Limits which fields of slab zones will be output. If the “<literal>fields</literal>” value is empty, then only zone names are output. responses: @@ -205,18 +182,15 @@ parameters: - name: slabZoneName in: path - description: | - The name of the shared memory zone with slab allocator. + description: The name of the shared memory zone with slab allocator. required: true type: string get: tags: - Slabs - Method GET - summary: | - Return status of a slab - description: | - Returns status of slabs for a particular shared memory zone + summary: Return status of a slab + description: Returns status of slabs for a particular shared memory zone with slab allocator. operationId: getSlabZone produces: @@ -225,8 +199,7 @@ - in: query name: fields type: string - description: | - Limits which fields of the slab zone will be output. + description: Limits which fields of the slab zone will be output. responses: '200': description: Success @@ -240,10 +213,8 @@ tags: - Slabs - Method DELETE - summary: | - Reset slab statistics - description: | - Resets the “<literal>reqs</literal>” and “<literal>fails</literal>” + summary: Reset slab statistics + description: Resets the “<literal>reqs</literal>” and “<literal>fails</literal>” metrics for each memory slot. operationId: deleteSlabZoneStats responses: @@ -258,10 +229,8 @@ tags: - HTTP - Method GET - summary: | - Return list of HTTP-related endpoints - description: | - Returns a list of first level HTTP endpoints. + summary: Return list of HTTP-related endpoints + description: Returns a list of first level HTTP endpoints. operationId: getHttp produces: - application/json @@ -275,10 +244,8 @@ tags: - HTTP Requests - Method GET - summary: | - Return HTTP requests statistics - description: | - Returns status of client HTTP requests. + summary: Return HTTP requests statistics + description: Returns status of client HTTP requests. operationId: getHttpRequests produces: - application/json @@ -286,8 +253,7 @@ - in: query name: fields type: string - description: | - Limits which fields of client HTTP requests statistics + description: Limits which fields of client HTTP requests statistics will be output. responses: '200': @@ -298,10 +264,8 @@ tags: - HTTP Requests - Method DELETE - summary: | - Reset HTTP requests statistics - description: | - Resets the number of total client HTTP requests. + summary: Reset HTTP requests statistics + description: Resets the number of total client HTTP requests. operationId: deleteHttpRequests responses: '204': @@ -311,10 +275,8 @@ tags: - HTTP Server Zones - Method GET - summary: | - Return status of all HTTP server zones - description: | - Returns status information for each HTTP + 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). operationId: getHttpServerZones produces: @@ -323,8 +285,7 @@ - in: query name: fields type: string - description: | - Limits which fields of server zones will be output. + description: Limits which fields of server zones will be output. If the “<literal>fields</literal>” value is empty, then only server zone names are output. responses: @@ -343,10 +304,8 @@ tags: - HTTP Server Zones - Method GET - summary: | - Return status of an HTTP server zone - description: | - Returns status of a particular HTTP server zone. + summary: Return status of an HTTP server zone + description: Returns status of a particular HTTP server zone. operationId: getHttpServerZone produces: - application/json @@ -354,8 +313,7 @@ - name: fields in: query type: string - description: | - Limits which fields of the server zone will be output. + description: Limits which fields of the server zone will be output. responses: '200': description: Success @@ -369,10 +327,8 @@ tags: - HTTP Server Zones - Method DELETE - summary: | - Reset statistics for an HTTP server zone - description: | - Resets statistics of accepted and discarded requests, responses, + summary: Reset statistics for an HTTP server zone + description: Resets statistics of accepted and discarded requests, responses, received and sent bytes in a particular HTTP server zone. operationId: deleteHttpServerZoneStat responses: @@ -387,10 +343,8 @@ tags: - HTTP Caches - Method GET - summary: | - Return status of all caches - description: | - Returns status of each cache configured by + summary: Return status of all caches + description: Returns status of each cache configured by [proxy_cache_path](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path) and other “<literal>*_cache_path</literal>” directives. operationId: getHttpCaches @@ -400,8 +354,7 @@ - name: fields in: query type: string - description: | - Limits which fields of cache zones will be output. + description: Limits which fields of cache zones will be output. If the “<literal>fields</literal>” value is empty, then only names of cache zones are output. responses: @@ -413,18 +366,15 @@ parameters: - name: httpCacheZoneName in: path - description: | - The name of the cache zone. + description: The name of the cache zone. type: string required: true get: tags: - HTTP Caches - Method GET - summary: | - Return status of a cache - description: | - Returns status of a particular cache. + summary: Return status of a cache + description: Returns status of a particular cache. operationId: getHttpCacheZone produces: - application/json @@ -432,8 +382,7 @@ - name: fields in: query type: string - description: | - Limits which fields of the cache zone will be output. + description: Limits which fields of the cache zone will be output. responses: '200': description: Success @@ -447,10 +396,8 @@ tags: - HTTP Caches - Method DELETE - summary: | - Reset cache statistics - description: | - Resets statistics of cache hits/misses in a particular cache zone. + summary: Reset cache statistics + description: Resets statistics of cache hits/misses in a particular cache zone. operationId: deleteHttpCacheZoneStat responses: '204': @@ -464,10 +411,8 @@ tags: - HTTP Upstreams - Method GET - summary: | - Return status of all HTTP upstream server groups - description: | - Returns status of each HTTP upstream server group + summary: Return status of all HTTP upstream server groups + description: Returns status of each HTTP upstream server group and its servers. operationId: getHttpUpstreams produces: @@ -476,8 +421,7 @@ - name: fields in: query type: string - description: | - Limits which fields of upstream server groups will be output. + description: Limits which fields of upstream server groups will be output. If the “<literal>fields</literal>” value is empty, only names of upstreams are output. responses: @@ -489,18 +433,15 @@ parameters: - name: httpUpstreamName in: path - description: | - The name of an HTTP upstream server group. + description: The name of an HTTP upstream server group. required: true type: string get: tags: - HTTP Upstreams - Method GET - summary: | - Return status of an HTTP upstream server group - description: | - Returns status of a particular HTTP upstream server group + summary: Return status of an HTTP upstream server group + description: Returns status of a particular HTTP upstream server group and its servers. operationId: getHttpUpstreamName produces: @@ -509,31 +450,26 @@ - name: fields in: query type: string - description: | - Limits which fields of the upstream server group will be output. + description: Limits which fields of the upstream server group will be output. responses: '200': description: Success schema: $ref: '#/definitions/NginxHTTPUpstream' '400': - description: | - Upstream is static (*UpstreamStatic*) + description: Upstream is static (*UpstreamStatic*) schema: $ref: '#/definitions/NginxError' '404': - description: | - Upstream not found (*UpstreamNotFound*) + description: Upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' delete: tags: - HTTP Upstreams - Method DELETE - summary: | - Reset statistics of an HTTP upstream server group - description: | - Resets the statistics for each upstream server + summary: Reset statistics of an HTTP upstream server group + description: Resets the statistics for each upstream server in an upstream server group and queue statistics. operationId: deleteHttpUpstreamStat produces: @@ -542,31 +478,26 @@ '204': description: Success '400': - description: | - Upstream is static (*UpstreamStatic*) + description: Upstream is static (*UpstreamStatic*) schema: $ref: '#/definitions/NginxError' '404': - description: | - Upstream not found (*UpstreamNotFound*) + description: Upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '/http/upstreams/{httpUpstreamName}/servers/': parameters: - name: httpUpstreamName in: path - description: | - The name of an upstream server group. + description: The name of an upstream server group. required: true type: string get: tags: - HTTP Upstreams - Method GET - summary: | - Return configuration of all servers in an HTTP upstream server group - description: | - Returns configuration of each server + summary: Return configuration of all servers in an HTTP upstream server group + description: Returns configuration of each server in a particular HTTP upstream server group. operationId: getHttpUpstreamServers produces: @@ -577,23 +508,19 @@ schema: $ref: '#/definitions/NginxHTTPUpstreamConfServerMap' '400': - description: | - Upstream is static (*UpstreamStatic*) + description: Upstream is static (*UpstreamStatic*) schema: $ref: '#/definitions/NginxError' '404': - description: | - Upstream not found (*UpstreamNotFound*) + description: Upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' post: tags: - HTTP Upstreams - Method POST - summary: | - Add a server to an HTTP upstream server group - description: | - Adds a new server to an HTTP upstream server group. + summary: Add a server to an HTTP upstream server group + description: Adds a new server to an HTTP upstream server group. Server parameters are specified in the JSON format. operationId: postHttpUpstreamServer produces: @@ -601,8 +528,7 @@ parameters: - in: body name: postHttpUpstreamServer - description: | - Address of a new server and other optional parameters + description: Address of a new server and other optional parameters in the JSON format. The “*ID*”, “*backup*”, and “*service*” parameters cannot be changed. @@ -637,8 +563,7 @@ schema: $ref: '#/definitions/NginxError' '404': - description: | - Upstream not found (*UpstreamNotFound*) + description: Upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '415': @@ -649,24 +574,20 @@ parameters: - name: httpUpstreamName in: path - description: | - The name of the upstream server group. + description: The name of the upstream server group. required: true type: string - name: httpUpstreamServerId in: path - description: | - The ID of the server. + description: The ID of the server. required: true type: string get: tags: - HTTP Upstreams - Method GET - summary: | - Return configuration of a server in an HTTP upstream server group - description: | - Returns configuration of a particular server + summary: Return configuration of a server in an HTTP upstream server group + description: Returns configuration of a particular server in the HTTP upstream server group. operationId: getHttpUpstreamPeer produces: @@ -692,10 +613,8 @@ tags: - HTTP Upstreams - Method PATCH - summary: | - Modify a server in an HTTP upstream server group - description: | - Modifies settings of a particular server + summary: Modify a server in an HTTP upstream server group + description: Modifies settings of a particular server in an HTTP upstream server group. Server parameters are specified in the JSON format. operationId: patchHttpUpstreamPeer @@ -704,8 +623,7 @@ parameters: - in: body name: patchHttpUpstreamServer - description: | - Server parameters, specified in the JSON format. + description: Server parameters, specified in the JSON format. The “*ID*”, “*backup*”, and “*service*” parameters cannot be changed. required: true @@ -751,10 +669,8 @@ tags: - HTTP Upstreams - Method DELETE - summary: | - Remove a server from an HTTP upstream server group - description: | - Removes a server from an HTTP upstream server group. + summary: Remove a server from an HTTP upstream server group + description: Removes a server from an HTTP upstream server group. operationId: deleteHttpUpstreamServer produces: - application/json @@ -781,10 +697,8 @@ tags: - HTTP Keyvals - Method GET - summary: | - Return key-value pairs from all keyval zones - description: | - Returns key-value pairs for each keyval shared memory + summary: Return key-value pairs from all keyval zones + description: Returns key-value pairs for each keyval shared memory [zone](https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone). operationId: getHttpKeyvalZones produces: @@ -793,8 +707,7 @@ - name: fields in: query type: string - description: | - If the “<literal>fields</literal>” value is empty, + description: If the “<literal>fields</literal>” value is empty, then only keyval zone names are output. responses: '200': @@ -805,18 +718,15 @@ parameters: - name: httpKeyvalZoneName in: path - description: | - The name of a keyval shared memory zone. + description: The name of a keyval shared memory zone. required: true type: string get: tags: - HTTP Keyvals - Method GET - summary: | - Return key-value pairs from a keyval zone - description: | - Returns key-value pairs stored in a particular keyval shared memory + summary: Return key-value pairs from a keyval zone + description: Returns key-value pairs stored in a particular keyval shared memory [zone](https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone). operationId: getHttpKeyvalZoneKeysValues produces: @@ -825,8 +735,7 @@ - name: key in: query type: string - description: | - Get a particular key-value pair from the keyval zone. + description: Get a particular key-value pair from the keyval zone. responses: '200': description: Success @@ -842,10 +751,8 @@ tags: - HTTP Keyvals - Method POST - summary: | - Add a key-value pair to the keyval zone - description: | - Adds a new key-value pair to the keyval shared memory + summary: Add a key-value pair to the keyval zone + description: Adds a new key-value pair to the keyval shared memory [zone](https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone). Several key-value pairs can be entered if the keyval shared memory zone is empty. @@ -855,8 +762,7 @@ parameters: - in: body name: Key-value - description: | - A key-value pair is specified in the JSON format. + description: A key-value pair is specified in the JSON format. Several key-value pairs can be entered if the keyval shared memory zone is empty. required: true @@ -888,10 +794,8 @@ tags: - HTTP Keyvals - Method PATCH - summary: | - Modify a key-value or delete a key - description: | - Changes the value of the selected key in the key-value pair + summary: Modify a key-value or delete a key + description: Changes the value of the selected key in the key-value pair or deletes a key by setting the key value to <literal>null</literal>. operationId: patchHttpKeyvalZoneKeyValue produces: @@ -899,8 +803,7 @@ parameters: - in: body name: httpKeyvalZoneKeyValue - description: | - A new value for the key is specified in the JSON format. + description: A new value for the key is specified in the JSON format. required: true schema: $ref: '#/definitions/NginxHTTPKeyvalZone' @@ -928,10 +831,8 @@ tags: - HTTP Keyvals - Method DELETE - summary: | - Empty the keyval zone - description: | - Deletes all key-value pairs from the keyval shared memory + summary: Empty the keyval zone + description: Deletes all key-value pairs from the keyval shared memory [zone](https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone). operationId: deleteHttpKeyvalZoneData responses: @@ -945,10 +846,8 @@ get: tags: - Stream - summary: | - Return list of stream-related endpoints - description: | - Returns a list of first level stream endpoints. + summary: Return list of stream-related endpoints + description: Returns a list of first level stream endpoints. operationId: getStream produces: - application/json @@ -962,10 +861,8 @@ tags: - Stream Server Zones - Method GET - summary: | - Return status of all stream server zones - description: | - Returns status information for each stream + 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). operationId: getStreamServerZones produces: @@ -974,8 +871,7 @@ - name: fields in: query type: string - description: | - Limits which fields of server zones will be output. + description: Limits which fields of server zones will be output. If the “<literal>fields</literal>” value is empty, then only server zone names are output. responses: @@ -984,7 +880,7 @@ schema: $ref: '#/definitions/NginxStreamServerZonesMap' '404': - description: | + description: > [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: @@ -993,18 +889,15 @@ parameters: - name: streamServerZoneName in: path - description: | - The name of a stream server zone. + description: The name of a stream server zone. type: string required: true get: tags: - Stream Server Zones - Method GET - summary: | - Return status of a stream server zone - description: | - Returns status of a particular stream server zone. + summary: Return status of a stream server zone + description: Returns status of a particular stream server zone. operationId: getStreamServerZone produces: - application/json @@ -1012,8 +905,7 @@ - name: fields in: query type: string - description: | - Limits which fields of the server zone will be output. + description: Limits which fields of the server zone will be output. responses: '200': description: Success @@ -1022,18 +914,15 @@ '404': description: | Server zone not found (*ServerZoneNotFound*), - [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) - not configured (*StreamNotConfigured*) + [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' delete: tags: - Stream Server Zones - Method DELETE - summary: | - Reset statistics for a stream server zone - description: | - Resets statistics of accepted and discarded connections, sessions, + summary: Reset statistics for a stream server zone + description: Resets statistics of accepted and discarded connections, sessions, received and sent bytes in a particular stream server zone. operationId: deleteStreamServerZoneStat responses: @@ -1042,8 +931,7 @@ '404': description: | Server zone not found (*ServerZoneNotFound*), - [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) - not configured (*StreamNotConfigured*) + [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' /stream/upstreams/: @@ -1051,10 +939,8 @@ tags: - Stream Upstreams - Method GET - summary: | - Return status of all stream upstream server groups - description: | - Returns status of each stream upstream server group + summary: Return status of all stream upstream server groups + description: Returns status of each stream upstream server group and its servers. operationId: getStreamUpstreams produces: @@ -1063,8 +949,7 @@ - name: fields in: query type: string - description: | - Limits which fields of upstream server groups will be output. + description: Limits which fields of upstream server groups will be output. If the “<literal>fields</literal>” value is empty, only names of upstreams are output. responses: @@ -1073,7 +958,7 @@ schema: $ref: '#/definitions/NginxStreamUpstreamMap' '404': - description: | + description: > [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: @@ -1082,18 +967,15 @@ parameters: - name: streamUpstreamName in: path - description: | - The name of a stream upstream server group. + description: The name of a stream upstream server group. required: true type: string get: tags: - Stream Upstreams - Method GET - summary: | - Return status of a stream upstream server group - description: | - Returns status of a particular stream upstream server group + summary: Return status of a stream upstream server group + description: Returns status of a particular stream upstream server group and its servers. operationId: getStreamUpstream produces: @@ -1102,33 +984,28 @@ - name: fields in: query type: string - description: | - Limits which fields of the upstream server group will be output. + description: Limits which fields of the upstream server group will be output. responses: '200': description: Success schema: $ref: '#/definitions/NginxStreamUpstream' '400': - description: | - Upstream is static (*UpstreamStatic*) + description: Upstream is static (*UpstreamStatic*) schema: $ref: '#/definitions/NginxError' '404': description: | Upstream not found (*UpstreamNotFound*), - [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) - not configured (*StreamNotConfigured*) + [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' delete: tags: - Stream Upstreams - Method DELETE - summary: | - Reset statistics of a stream upstream server group - description: | - Resets the statistics for each upstream server + summary: Reset statistics of a stream upstream server group + description: Resets the statistics for each upstream server in an upstream server group. operationId: deleteStreamUpstreamStat produces: @@ -1137,33 +1014,28 @@ '204': description: Success '400': - description: | - Upstream is static (*UpstreamStatic*) + description: Upstream is static (*UpstreamStatic*) schema: $ref: '#/definitions/NginxError' '404': description: | Upstream not found (*UpstreamNotFound*), - [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) - not configured (*StreamNotConfigured*) + [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' '/stream/upstreams/{streamUpstreamName}/servers/': parameters: - name: streamUpstreamName in: path - description: | - The name of an upstream server group. + description: The name of an upstream server group. required: true type: string get: tags: - Stream Upstreams - Method GET - summary: | - Return configuration of all servers in a stream upstream server group - description: | - Returns configuration of each server + summary: Return configuration of all servers in a stream upstream server group + description: Returns configuration of each server in a particular stream upstream server group. operationId: getStreamUpstreamServers produces: @@ -1174,25 +1046,21 @@ schema: $ref: '#/definitions/NginxStreamUpstreamConfServerMap' '400': - description: | - Upstream is static (*UpstreamStatic*) + description: Upstream is static (*UpstreamStatic*) schema: $ref: '#/definitions/NginxError' '404': description: | Upstream not found (*UpstreamNotFound*), - [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) - not configured (*StreamNotConfigured*) + [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' post: tags: - Stream Upstreams - Method POST - summary: | - Add a server to a stream upstream server group - description: | - Adds a new server to a stream upstream server group. + summary: Add a server to a stream upstream server group + description: Adds a new server to a stream upstream server group. Server parameters are specified in the JSON format. operationId: postStreamUpstreamServer produces: @@ -1200,8 +1068,7 @@ parameters: - in: body name: postStreamUpstreamServer - description: | - Address of a new server and other optional parameters + description: Address of a new server and other optional parameters in the JSON format. The “*ID*”, “*backup*”, and “*service*” parameters cannot be changed. @@ -1238,8 +1105,7 @@ '404': description: | Upstream not found (*UpstreamNotFound*), - [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) - not configured (*StreamNotConfigured*) + [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' '415': @@ -1250,24 +1116,20 @@ parameters: - name: streamUpstreamName in: path - description: | - The name of the upstream server group. + description: The name of the upstream server group. required: true type: string - name: streamUpstreamServerId in: path - description: | - The ID of the server. + description: The ID of the server. required: true type: string get: tags: - Stream Upstreams - Method GET - summary: | - Return configuration of a server in a stream upstream server group - description: | - Returns configuration of a particular server + summary: Return configuration of a server in a stream upstream server group + description: Returns configuration of a particular server in the stream upstream server group. operationId: getStreamUpstreamServer produces: @@ -1287,18 +1149,15 @@ description: | Upstream not found (*UpstreamNotFound*), server with ID “**id**” does not exist (*UpstreamServerNotFound*), - [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) - not configured (*StreamNotConfigured*) + [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' patch: tags: - Stream Upstreams - Method PATCH - summary: | - Modify a server in a stream upstream server group - description: | - Modifies settings of a particular server + summary: Modify a server in a stream upstream server group + description: Modifies settings of a particular server in a stream upstream server group. Server parameters are specified in the JSON format. operationId: patchStreamUpstreamServer @@ -1307,8 +1166,7 @@ parameters: - in: body name: patchStreamUpstreamServer - description: | - Server parameters, specified in the JSON format. + description: Server parameters, specified in the JSON format. The “*ID*”, “*backup*”, and “*service*” parameters cannot be changed. required: true @@ -1344,8 +1202,7 @@ description: | Upstream not found (*UpstreamNotFound*), server with ID “**id**” does not exist (*UpstreamServerNotFound*), - [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) - not configured (*StreamNotConfigured*) + [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' '415': @@ -1356,10 +1213,8 @@ tags: - Stream Upstreams - Method DELETE - summary: | - Remove a server from a stream upstream server group - description: | - Removes a server from a stream server group. + summary: Remove a server from a stream upstream server group + description: Removes a server from a stream server group. operationId: deleteStreamUpstreamServer produces: - application/json @@ -1379,8 +1234,7 @@ description: | Upstream not found (*UpstreamNotFound*), server with ID “**id**” does not exist (*UpstreamServerNotFound*), - [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) - not configured (*StreamNotConfigured*) + [stream](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream) not configured (*StreamNotConfigured*) schema: $ref: '#/definitions/NginxError' ### @@ -1402,39 +1256,32 @@ properties: version: type: string - description: | - Version of nginx. + description: Version of nginx. build: type: string - description: | - Name of nginx build. + description: Name of nginx build. address: type: string description: The address of the server that accepted status request. generation: type: integer - description: | - The total number of configuration + description: The total number of configuration <a href="https://nginx.org/en/docs/control.html#reconfiguration">reloads</a>. load_timestamp: type: string format: date-time - description: | - Time of the last reload of configuration, + description: Time of the last reload of configuration, in milliseconds since Epoch. timestamp: type: string format: date-time - description: | - Current time in milliseconds since Epoch. + description: Current time in milliseconds since Epoch. pid: type: integer - description: | - The ID of the worker process that handled status request. + description: The ID of the worker process that handled status request. ppid: type: integer - description: | - The ID of the master process that started the + description: The ID of the master process that started the <a href="https://nginx.org/en/docs/http/ngx_http_status_module.html#pid">worker process</a>. example: nginx: @@ -1452,8 +1299,7 @@ properties: respawned: type: integer - description: | - The total number of abnormally terminated + description: The total number of abnormally terminated and respawned child processes. example: respawned: 0 @@ -1465,20 +1311,16 @@ properties: accepted: type: integer - description: | - The total number of accepted client connections. + description: The total number of accepted client connections. dropped: type: integer - description: | - The total number of dropped client connections. + description: The total number of dropped client connections. active: type: integer - description: | - The current number of active client connections. + description: The current number of active client connections. idle: type: integer - description: | - The current number of idle client connections. + description: The current number of idle client connections. example: accepted: 4968119 dropped: 0 @@ -1490,16 +1332,13 @@ properties: handshakes: type: integer - description: | - The total number of successful SSL handshakes. + description: The total number of successful SSL handshakes. handshakes_failed: type: integer - description: | - The total number of failed SSL handshakes. + description: The total number of failed SSL handshakes. session_reuses: type: integer - description: | - The total number of session reuses during SSL handshake. + description: The total number of session reuses during SSL handshake. example: handshakes: 79572 handshakes_failed: 21025 @@ -1584,22 +1423,18 @@ properties: pages: type: object - description: | - The number of free and used memory pages. + description: The number of free and used memory pages. properties: used: type: integer - description: | - The current number of used memory pages. + description: The current number of used memory pages. free: type: integer - description: | - The current number of free memory pages. + description: The current number of free memory pages. slots: type: object title: Memory Slots - description: | - Status data for memory slots (8, 16, 32, 64, 128, etc.) + description: Status data for memory slots (8, 16, 32, 64, 128, etc.) additionalProperties: $ref: '#/definitions/NginxSlabZoneSlot' example: @@ -1643,21 +1478,17 @@ properties: used: type: integer - description: | - The current number of used memory slots. + description: The current number of used memory slots. free: type: integer - description: | - The current number of free memory slots. + description: The current number of free memory slots. reqs: type: integer - description: | - The total number of attempts + description: The total number of attempts to allocate memory of specified size. fails: type: integer - description: | - The number of unsuccessful attempts + description: The number of unsuccessful attempts to allocate memory of specified size. NginxHTTPRequests: title: HTTP Requests @@ -1665,12 +1496,10 @@ properties: total: type: integer - description: | - The total number of client requests. + description: The total number of client requests. current: type: integer - description: | - The current number of client requests. + description: The current number of client requests. example: total: 10624511 current: 4 @@ -1715,16 +1544,13 @@ properties: processing: type: integer - description: | - The number of client requests + description: The number of client requests that are currently being processed. requests: type: integer - description: | - The total number of client requests received from clients. + description: The total number of client requests received from clients. responses: - description: | - The total number of responses sent to clients and the + description: The total number of responses sent to clients and the number of responses with status codes “<code>1xx</code>”, “<code>2xx</code>”, “<code>3xx</code>”, “<code>4xx</code>”, and “<code>5xx</code>”. @@ -1733,28 +1559,23 @@ properties: 1xx: type: integer - description: | - The number of responses with “<code>1xx</code>” status codes. + description: The number of responses with “<code>1xx</code>” status codes. readOnly: true 2xx: type: integer - description: | - The number of responses with “<code>2xx</code>” status codes. + description: The number of responses with “<code>2xx</code>” status codes. readOnly: true 3xx: type: integer - description: | - The number of responses with “<code>3xx</code>” status codes. + description: The number of responses with “<code>3xx</code>” status codes. readOnly: true 4xx: type: integer - description: | - The number of responses with “<code>4xx</code>” status codes. + description: The number of responses with “<code>4xx</code>” status codes. readOnly: true 5xx: type: integer - description: | - The number of responses with “<code>5xx</code>” status codes. + description: The number of responses with “<code>5xx</code>” status codes. readOnly: true total: type: integer @@ -1762,17 +1583,14 @@ readOnly: true discarded: type: integer - description: | - The total number of + description: The total number of requests completed without sending a response. received: type: integer - description: | - The total number of bytes received from clients. + description: The total number of bytes received from clients. sent: type: integer - description: | - The total number of bytes sent to clients. + description: The total number of bytes sent to clients. example: processing: 1 requests: 706690 @@ -1860,38 +1678,32 @@ properties: size: type: integer - description: | - The current size of the cache. + description: The current size of the cache. max_size: type: integer - description: | - The limit on the maximum size of the cache + description: The limit on the maximum size of the cache specified in the configuration. cold: type: boolean - description: | - A boolean value indicating whether the “cache loader” process + description: A boolean value indicating whether the “cache loader” process is still loading data from disk into the cache. hit: type: object properties: responses: type: integer - description: | - The total number of + description: The total number of <a href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid">valid</a> responses read from the cache. bytes: type: integer - description: | - The total number of bytes read from the cache. + description: The total number of bytes read from the cache. stale: type: object properties: responses: type: integer - description: | - The total number of expired responses read from the cache (see + description: The total number of expired responses read from the cache (see <a href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale">proxy_cache_use_stale</a> and other “<code>*_cache_use_stale</code>” directives). bytes: @@ -1902,88 +1714,72 @@ properties: responses: type: integer - description: | - The total number of expired responses read from the cache + description: The total number of expired responses read from the cache while responses were being updated (see <a href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale_updating">proxy_cache_use_stale</a> and other “<code>*_cache_use_stale</code>” directives). bytes: type: integer - description: | - The total number of bytes read from the cache. + description: The total number of bytes read from the cache. revalidated: type: object properties: responses: type: integer - description: | - The total number of expired and revalidated responses + description: The total number of expired and revalidated responses read from the cache (see <a href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_revalidate">proxy_cache_revalidate</a> and other “<code>*_cache_revalidate</code>” directives. bytes: type: integer - description: | - The total number of bytes read from the cache. + description: The total number of bytes read from the cache. miss: type: object properties: responses: type: integer - description: | - The total number of responses not found in the cache. + description: The total number of responses not found in the cache. bytes: type: integer - description: | - The total number of bytes read from the proxied server. + description: The total number of bytes read from the proxied server. responses_written: type: integer - description: | - The total number of responses written to the cache. + description: The total number of responses written to the cache. bytes_written: type: integer - description: | - The total number of bytes written to the cache. + description: The total number of bytes written to the cache. expired: type: object properties: responses: type: integer - description: | - The total number of expired responses not taken from the cache. + description: The total number of expired responses not taken from the cache. bytes: type: integer - description: | - The total number of bytes read from the proxied server. + description: The total number of bytes read from the proxied server. responses_written: type: integer - description: | - The total number of responses written to the cache. + description: The total number of responses written to the cache. bytes_written: type: integer - description: | - The total number of bytes written to the cache. + description: The total number of bytes written to the cache. bypass: type: object properties: responses: type: integer - description: | - The total number of responses not looked up in the cache due to the + description: The total number of responses not looked up in the cache due to the <a href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_bypass">proxy_cache_bypass</a> and other “<code>*_cache_bypass</code>” directives. bytes: type: integer - description: | - The total number of bytes read from the proxied server. + description: The total number of bytes read from the proxied server. responses_written: type: integer - description: | - The total number of responses written to the cache. + description: The total number of responses written to the cache. bytes_written: type: integer - description: | - The total number of bytes written to the cache. + description: The total number of bytes written to the cache. example: size: 530915328 max_size: 536870912 @@ -2153,41 +1949,35 @@ $ref: '#/definitions/NginxHTTPUpstreamPeerMap' keepalive: type: integer - description: | - The current number of idle + description: The current number of idle <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive">keepalive</a> connections. zombies: type: integer - description: | - The current number of servers removed + description: The current number of servers removed from the group but still processing active client requests. zone: type: string - description: | - The name of the shared memory + description: The name of the shared memory <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#zone">zone</a> that keeps the group’s configuration and run-time state. queue: type: object - description: | + description: > For the requests <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#queue">queue</a>, the following data are provided: properties: size: type: integer - description: | - The current number of requests in the queue. + description: The current number of requests in the queue. max_size: type: integer - description: | - The maximum number of requests that can be in the queue + description: The maximum number of requests that can be in the queue at the same time. overflows: type: integer - description: | - The total number of requests rejected due to the queue overflow. + description: The total number of requests rejected due to the queue overflow. example: upstream_backend: peers: @@ -2270,34 +2060,29 @@ readOnly: true server: type: string - description: | - An <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">address</a> + description: An <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">address</a> of the server. service: type: string - description: | - The + description: The <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#service">service</a> parameter value of the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">server</a> directive. name: type: string - description: | - The name of the server specified in the + description: The name of the server specified in the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server">server</a> directive. readOnly: true backup: type: boolean - description: | - A boolean value indicating whether the server is a + description: A boolean value indicating whether the server is a <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#backup">backup</a> server. weight: type: integer - description: | - <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#weight">Weight</a> + description: <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#weight">Weight</a> of the server. state: type: string @@ -2308,26 +2093,22 @@ - unavail - checking - unhealthy - description: | - Current state, which may be one of + description: Current state, which may be one of “<code>up</code>”, “<code>draining</code>”, “<code>down</code>”, “<code>unavail</code>”, “<code>checking</code>”, and “<code>unhealthy</code>”. active: type: integer - description: | - The current number of active connections. + description: The current number of active connections. readOnly: true max_conns: type: integer - description: | - The + description: The <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_conns">max_conns</a> limit for the server. requests: type: integer - description: | - The total number of client requests forwarded to this server. + description: The total number of client requests forwarded to this server. readOnly: true responses: type: object @@ -2335,28 +2116,23 @@ properties: 1xx: type: integer - description: | - The number of responses with “<code>1xx</code>” status codes. + description: The number of responses with “<code>1xx</code>” status codes. readOnly: true 2xx: type: integer - description: | - The number of responses with “<code>2xx</code>” status codes. + description: The number of responses with “<code>2xx</code>” status codes. readOnly: true 3xx: type: integer - description: | - The number of responses with “<code>3xx</code>” status codes. + description: The number of responses with “<code>3xx</code>” status codes. readOnly: true 4xx: type: integer - description: | - The number of responses with “<code>4xx</code>” status codes. + description: The number of responses with “<code>4xx</code>” status codes. readOnly: true 5xx: type: integer - description: | - The number of responses with “<code>5xx</code>” status codes. + description: The number of responses with “<code>5xx</code>” status codes. readOnly: true total: type: integer @@ -2364,24 +2140,20 @@ readOnly: true sent: type: integer - description: | - The total number of bytes sent to this server. + description: The total number of bytes sent to this server. readOnly: true received: type: integer - description: | - The total number of bytes received from this server. + description: The total number of bytes received from this server. readOnly: true fails: type: integer - description: | - The total number of unsuccessful attempts + description: The total number of unsuccessful attempts to communicate with the server. readOnly: true unavail: type: integer - description: | - How many times the server became unavailable for client requests + description: How many times the server became unavailable for client requests (state “<code>unavail</code>”) due to the number of unsuccessful attempts reaching the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails">max_fails</a> @@ -2393,8 +2165,7 @@ properties: checks: type: integer - description: | - The total number of + description: The total number of <a href="https://nginx.org/en/docs/http/ngx_http_upstream_hc_module.html#health_check">health check</a> requests made. fails: @@ -2402,54 +2173,46 @@ description: The number of failed health checks. unhealthy: type: integer - description: | - How many times the server became unhealthy + description: How many times the server became unhealthy (state “<code>unhealthy</code>”). last_passed: type: boolean - description: | - Boolean indicating if the last health check request was successful + description: Boolean indicating if the last health check request was successful and passed <a href="https://nginx.org/en/docs/http/ngx_http_upstream_hc_module.html#match">tests</a>. downtime: type: integer readOnly: true - description: | - Total time the server was in the “<code>unavail</code>”, + description: Total time the server was in the “<code>unavail</code>”, “<code>checking</code>”, and “<code>unhealthy</code>” states. downstart: type: string format: date-time readOnly: true - description: | - The time (in milliseconds since Epoch) when the server became + description: The time (in milliseconds since Epoch) when the server became “<code>unavail</code>”, “<code>checking</code>”, or “<code>unhealthy</code>”. selected: type: string format: date-time readOnly: true - description: | - The time (in milliseconds since Epoch) + description: The time (in milliseconds since Epoch) when the server was last selected to process a request. header_time: type: integer readOnly: true - description: | - The average time to get the + description: The average time to get the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_header_time">response header</a> from the server. response_time: type: integer readOnly: true - description: | - The average time to get the + description: The average time to get the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_response_time">full response</a> from the server. NginxHTTPUpstreamConfServerMap: title: HTTP Upstream Servers - description: | - An array of HTTP upstream servers for dynamic configuration. + description: An array of HTTP upstream servers for dynamic configuration. type: array items: $ref: '#/definitions/NginxHTTPUpstreamConfServer' @@ -2483,14 +2246,12 @@ properties: id: type: integer - description: | - The ID of the HTTP upstream server. + description: The ID of the HTTP upstream server. The ID is assigned automatically and cannot be changed. readOnly: true server: type: string - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#address">address</a> parameter of the HTTP upstream server. When adding a server, it is possible to specify it as a domain name. @@ -2506,78 +2267,66 @@ parameter of the HTTP upstream server. service: type: string - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#service">service</a> parameter of the HTTP upstream server. This parameter cannot be changed. readOnly: true weight: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#weight">weight</a> parameter of the HTTP upstream server. max_conns: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_conns">max_conns</a> parameter of the HTTP upstream server. max_fails: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails">max_fails</a> parameter of the HTTP upstream server. fail_timeout: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#fail_timeout">fail_timeout</a> parameter of the HTTP upstream server. slow_start: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#slow_start">slow_start</a> parameter of the HTTP upstream server. route: type: string - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#route">route</a> parameter of the HTTP upstream server. backup: type: boolean - description: | - When <code>true</code>, adds a + description: When <code>true</code>, adds a <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#backup">backup</a> server. This parameter cannot be changed. readOnly: true down: type: boolean - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#down">down</a> parameter of the HTTP upstream server. parent: type: string - description: | - Parent server ID of the resolved server. + description: Parent server ID of the resolved server. The ID is assigned automatically and cannot be changed. readOnly: true host: type: string - description: | - Hostname of the resolved server. + description: Hostname of the resolved server. The hostname is assigned automatically and cannot be changed. readOnly: true drain: type: string - description: | - Puts the HTTP upstream server into the “draining” mode. + description: Puts the HTTP upstream server into the “draining” mode. In this mode, only requests <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky">bound</a> to the server will be proxied to it. @@ -2656,36 +2405,30 @@ properties: processing: type: integer - description: | - The number of client connections + description: The number of client connections that are currently being processed. connections: type: integer - description: | - The total number of connections accepted from clients. + description: The total number of connections accepted from clients. sessions: type: object - description: | - Total number of completed sessions, + description: The total number of completed sessions, and the number of sessions completed with status codes “<code>2xx</code>”, “<code>4xx</code>”, or “<code>5xx</code>”. properties: 2xx: type: integer - description: | - The total number of sessions completed with + description: The total number of sessions completed with <a href="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</a> “<code>2xx</code>”. 4xx: type: integer - description: | - The total number of sessions completed with + description: The total number of sessions completed with <a href="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</a> “<code>4xx</code>”. 5xx: type: integer - description: | - The total number of sessions completed with + description: The total number of sessions completed with <a href="https://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_status">status codes</a> “<code>5xx</code>”. total: @@ -2693,8 +2436,7 @@ description: The total number of completed client sessions. discarded: type: integer - description: | - The total number of + description: The total number of connections completed without creating a session. received: type: integer @@ -2821,13 +2563,11 @@ $ref: '#/definitions/NginxStreamUpstreamPeerMap' zombies: type: integer - description: | - The current number of servers removed from the group + description: The current number of servers removed from the group but still processing active client connections. zone: type: string - description: | - The name of the shared memory + description: The name of the shared memory <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#zone">zone</a> that keeps the group’s configuration and run-time state. example: @@ -2889,19 +2629,16 @@ properties: id: type: integer - description: | - The ID of the server. + description: The ID of the server. readOnly: true server: type: string - description: | - An + description: An <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">address</a> of the server. service: type: string - description: | - The + description: The <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#service">service</a> parameter value of the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">server</a> @@ -2909,21 +2646,18 @@ name: type: string format: hostname - description: | - The name of the server specified in the + description: The name of the server specified in the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">server</a> directive. readOnly: true backup: type: boolean - description: | - A boolean value indicating whether the server is a + description: A boolean value indicating whether the server is a <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#backup">backup</a> server. weight: type: integer - description: | - <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#weight">Weight</a> + description: <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#weight">Weight</a> of the server. state: type: string @@ -2934,8 +2668,7 @@ - unavail - checking - unhealthy - description: | - Current state, which may be one of + description: Current state, which may be one of “<code>up</code>”, “<code>down</code>”, “<code>unavail</code>”, “<code>checking</code>”, or “<code>unhealthy</code>”. active: @@ -2944,14 +2677,12 @@ readOnly: true max_conns: type: integer - description: | - The + description: The <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_conns">max_conns</a> limit for the server. connections: type: integer - description: | - The total number of client connections forwarded to this server. + description: The total number of client connections forwarded to this server. readOnly: true connect_time: type: integer @@ -2971,19 +2702,16 @@ readOnly: true received: type: integer - description: | - The total number of bytes received from this server. + description: The total number of bytes received from this server. readOnly: true fails: type: integer - description: | - The total number of unsuccessful attempts + description: The total number of unsuccessful attempts to communicate with the server. readOnly: true unavail: type: integer - description: | - How many times the server became unavailable for client connections + description: How many times the server became unavailable for client connections (state “<code>unavail</code>”) due to the number of unsuccessful attempts reaching the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails">max_fails</a> @@ -2991,13 +2719,11 @@ readOnly: true health_checks: type: object - description: | readOnly: true properties: checks: type: integer - description: | - The total number of + description: The total number of <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_hc_module.html#health_check">health check</a> requests made. readOnly: true @@ -3007,37 +2733,32 @@ readOnly: true unhealthy: type: integer - description: | - How many times the server became unhealthy + description: How many times the server became unhealthy (state “<code>unhealthy</code>”). readOnly: true last_passed: type: boolean - description: | - Boolean indicating whether the last health check request + description: Boolean indicating whether the last health check request was successful and passed <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_hc_module.html#match">tests</a>. readOnly: true downtime: type: integer - description: | - Total time the server was in the + description: Total time the server was in the “<code>unavail</code>”, “<code>checking</code>”, and “<code>unhealthy</code>” states. readOnly: true downstart: type: string format: date-time - description: | - The time (in milliseconds since Epoch) when the server became + description: The time (in milliseconds since Epoch) when the server became “<code>unavail</code>”, “<code>checking</code>”, or “<code>unhealthy</code>”. readOnly: true selected: type: string format: date-time - description: | - The time (in milliseconds since Epoch) + description: The time (in milliseconds since Epoch) when the server was last selected to process a connection. readOnly: true NginxStreamUpstreamConfServerMap: @@ -3075,14 +2796,12 @@ properties: id: type: integer - description: | - The ID of the stream upstream server. + description: The ID of the stream upstream server. The ID is assigned automatically and cannot be changed. readOnly: true server: type: string - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#server">address</a> parameter of the stream upstream server. When adding a server, it is possible to specify it as a domain name. @@ -3098,66 +2817,56 @@ parameter of the stream upstream server. service: type: string - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#service">service</a> parameter of the stream upstream server. This parameter cannot be changed. readOnly: true weight: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#weight">weight</a> parameter of the stream upstream server. max_conns: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_conns">max_conns</a> parameter of the stream upstream server. max_fails: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails">max_fails</a> parameter of the stream upstream server. fail_timeout: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#fail_timeout">fail_timeout</a> parameter of the stream upstream server. slow_start: type: integer - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#slow_start">slow_start</a> parameter of the stream upstream server. backup: type: boolean - description: | - When <code>true</code>, adds a + description: When <code>true</code>, adds a <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#backup">backup</a> server. This parameter cannot be changed. readOnly: true down: type: boolean - description: | - Same as the + description: Same as the <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#down">down</a> parameter of the stream upstream server. parent: type: string - description: | - Parent server ID of the resolved server. + description: Parent server ID of the resolved server. The ID is assigned automatically and cannot be changed. readOnly: true host: type: string - description: | - Hostname of the resolved server. + description: Hostname of the resolved server. The hostname is assigned automatically and cannot be changed. readOnly: true example: @@ -3178,34 +2887,27 @@ properties: path: type: string - description: | - API path. + description: API path. method: type: string - description: | - HTTP method. + description: HTTP method. error: type: object properties: status: type: string - description: | - HTTP error code. + description: HTTP error code. text: type: string - description: | - Error description. + description: Error description. code: type: string - description: | - Internal nginx error code. + description: Internal nginx error code. request_id: type: string - description: | - The ID of the request, equals the value of the + description: The ID of the request, equals the value of the <a href="https://nginx.org/en/docs/http/ngx_http_core_module.html#var_request_id">$request_id</a> variable. href: type: string - description: | - Link to reference documentation. + description: Link to reference documentation.