# HG changeset patch # User Yaroslav Zhuravlev # Date 1580749481 0 # Node ID 20dbb29cbe05fbd902f1040b39eea0eeb64f1f42 # Parent 9ceda894f3d7c2318803966341f3813c228597d6 Documented the "Unknown version" error in the API. diff --git a/xml/en/docs/http/ngx_http_api_module.xml b/xml/en/docs/http/ngx_http_api_module.xml --- a/xml/en/docs/http/ngx_http_api_module.xml +++ b/xml/en/docs/http/ngx_http_api_module.xml @@ -284,6 +284,7 @@ Possible responses: 200 - Success, returns an array of strings +404 - Unknown version (UnknownVersion), returns Error @@ -311,6 +312,7 @@ Possible responses: 200 - Success, returns nginx +404 - Unknown version (UnknownVersion), returns Error @@ -329,6 +331,7 @@ Possible responses: 200 - Success, returns Processes +404 - Unknown version (UnknownVersion), returns Error @@ -339,6 +342,7 @@ Possible responses: 204 - Success +404 - Unknown version (UnknownVersion), returns Error @@ -366,6 +370,7 @@ Possible responses: 200 - Success, returns Connections +404 - Unknown version (UnknownVersion), returns Error @@ -376,6 +381,7 @@ Possible responses: 204 - Success +404 - Unknown version (UnknownVersion), returns Error @@ -403,6 +409,7 @@ Possible responses: 200 - Success, returns a collection of "Shared memory zone with slab allocator" objects for all slabs +404 - Unknown version (UnknownVersion), returns Error @@ -437,7 +444,8 @@ Possible responses: 200 - Success, returns Shared memory zone with slab allocator -404 - Slab not found (SlabNotFound), returns Error +404 - Slab not found (SlabNotFound), +unknown version (UnknownVersion), returns Error @@ -448,7 +456,8 @@ Possible responses: 204 - Success -404 - Slab not found (SlabNotFound), returns Error +404 - Slab not found (SlabNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -468,6 +477,7 @@ Possible responses: 200 - Success, returns an array of strings +404 - Unknown version (UnknownVersion), returns Error @@ -495,6 +505,7 @@ Possible responses: 200 - Success, returns HTTP Requests +404 - Unknown version (UnknownVersion), returns Error @@ -505,6 +516,7 @@ Possible responses: 204 - Success +404 - Unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -533,6 +545,7 @@ Possible responses: 200 - Success, returns a collection of "HTTP Server Zone" objects for all HTTP server zones +404 - Unknown version (UnknownVersion), returns Error @@ -567,7 +580,8 @@ Possible responses: 200 - Success, returns HTTP Server Zone -404 - Server zone not found (ServerZoneNotFound), returns Error +404 - Server zone not found (ServerZoneNotFound), +unknown version (UnknownVersion), returns Error @@ -578,7 +592,8 @@ Possible responses: 204 - Success -404 - Server zone not found (ServerZoneNotFound), returns Error +404 - Server zone not found (ServerZoneNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -607,6 +622,7 @@ Possible responses: 200 - Success, returns a collection of "HTTP Location Zone" objects for all HTTP location zones +404 - Unknown version (UnknownVersion), returns Error @@ -641,7 +657,8 @@ Possible responses: 200 - Success, returns HTTP Location Zone -404 - Location zone not found (LocationZoneNotFound), returns Error +404 - Location zone not found (LocationZoneNotFound), +unknown version (UnknownVersion), returns Error @@ -652,7 +669,8 @@ Possible responses: 204 - Success -404 - Location zone not found (LocationZoneNotFound), returns Error +404 - Location zone not found (LocationZoneNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -681,6 +699,7 @@ Possible responses: 200 - Success, returns a collection of "HTTP Cache" objects for all HTTP caches +404 - Unknown version (UnknownVersion), returns Error @@ -715,7 +734,8 @@ Possible responses: 200 - Success, returns HTTP Cache -404 - Cache not found (CacheNotFound), returns Error +404 - Cache not found (CacheNotFound), +unknown version (UnknownVersion), returns Error @@ -726,7 +746,8 @@ Possible responses: 204 - Success -404 - Cache not found (CacheNotFound), returns Error +404 - Cache not found (CacheNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -755,6 +776,7 @@ Possible responses: 200 - Success, returns a collection of "HTTP Connections Limiting" objects for all HTTP limit conns +404 - Unknown version (UnknownVersion), returns Error @@ -789,7 +811,8 @@ Possible responses: 200 - Success, returns HTTP Connections Limiting -404 - limit_conn not found (LimitConnNotFound), returns Error +404 - limit_conn not found (LimitConnNotFound), +unknown version (UnknownVersion), returns Error @@ -800,7 +823,8 @@ Possible responses: 204 - Success -404 - limit_conn not found (LimitConnNotFound), returns Error +404 - limit_conn not found (LimitConnNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -829,6 +853,7 @@ Possible responses: 200 - Success, returns a collection of "HTTP Requests Rate Limiting" objects for all HTTP limit reqs +404 - Unknown version (UnknownVersion), returns Error @@ -863,7 +888,8 @@ Possible responses: 200 - Success, returns HTTP Requests Rate Limiting -404 - limit_req not found (LimitReqNotFound), returns Error +404 - limit_req not found (LimitReqNotFound), +unknown version (UnknownVersion), returns Error @@ -874,7 +900,8 @@ Possible responses: 204 - Success -404 - limit_req not found (LimitReqNotFound), returns Error +404 - limit_req not found (LimitReqNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -903,6 +930,7 @@ Possible responses: 200 - Success, returns a collection of "HTTP Upstream" objects for all HTTP upstreams +404 - Unknown version (UnknownVersion), returns Error @@ -938,7 +966,8 @@ Possible responses: 200 - Success, returns HTTP Upstream 400 - Upstream is static (UpstreamStatic), returns Error -404 - Upstream not found (UpstreamNotFound), returns Error +404 - Unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error @@ -950,7 +979,8 @@ Possible responses: 204 - Success 400 - Upstream is static (UpstreamStatic), returns Error -404 - Upstream not found (UpstreamNotFound), returns Error +404 - Unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -978,7 +1008,8 @@ Possible responses: 200 - Success, returns an array of HTTP Upstream Servers 400 - Upstream is static (UpstreamStatic), returns Error -404 - Upstream not found (UpstreamNotFound), returns Error +404 - Unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error @@ -1017,7 +1048,8 @@ route is too long (UpstreamBadR no resolver defined to resolve (UpstreamConfNoResolver), upstream “name” has no backup (UpstreamNoBackup), upstream “name” memory exhausted (UpstreamOutOfMemory), returns Error -404 - Upstream not found (UpstreamNotFound), returns Error +404 - Unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error 405 - Method disabled (MethodDisabled), returns Error 415 - JSON error (JsonError), returns Error @@ -1051,8 +1083,9 @@ Possible responses: 200 - Success, returns HTTP Upstream Server 400 - Upstream is static (UpstreamStatic), invalid server ID (UpstreamBadServerId), returns Error -404 - Upstream not found (UpstreamNotFound), -server with ID “id” does not exist (UpstreamServerNotFound), returns Error +404 - Server with ID “id” does not exist (UpstreamServerNotFound), +unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error @@ -1090,8 +1123,9 @@ route is too long (UpstreamBadR server “ID” address is immutable (UpstreamServerImmutable), server “ID” weight is immutable (UpstreamServerWeightImmutable), upstream “name” memory exhausted (UpstreamOutOfMemory), returns Error -404 - Upstream not found (UpstreamNotFound), -server with ID “id” does not exist (UpstreamServerNotFound), returns Error +404 - Server with ID “id” does not exist (UpstreamServerNotFound), +unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error 405 - Method disabled (MethodDisabled), returns Error 415 - JSON error (JsonError), returns Error @@ -1107,8 +1141,9 @@ Possible responses: 400 - Upstream is static (UpstreamStatic), invalid server ID (UpstreamBadServerId), server “id” not removable (UpstreamServerImmutable), returns Error -404 - Upstream not found (UpstreamNotFound), -server with ID “id” does not exist (UpstreamServerNotFound), returns Error +404 - Server with ID “id” does not exist (UpstreamServerNotFound), +unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -1137,6 +1172,7 @@ Possible responses: 200 - Success, returns a collection of "HTTP Keyval Shared Memory Zone" objects for all HTTP keyvals +404 - Unknown version (UnknownVersion), returns Error @@ -1172,7 +1208,8 @@ Possible responses: 200 - Success, returns HTTP Keyval Shared Memory Zone 404 - Keyval not found (KeyvalNotFound), -keyval key not found (KeyvalKeyNotFound), returns Error +keyval key not found (KeyvalKeyNotFound), +unknown version (UnknownVersion), returns Error @@ -1198,7 +1235,8 @@ key required (KeyvalFormatError keyval timeout is not enabled (KeyvalFormatError), only one key can be added (KeyvalFormatError), reading request body failed BodyReadError), returns Error -404 - Keyval not found (KeyvalNotFound), returns Error +404 - Keyval not found (KeyvalNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error 409 - Key already exists (KeyvalKeyExists), returns Error 413 - Request Entity Too Large, returns Error @@ -1228,7 +1266,8 @@ keyval timeout is not enabled ( only one key can be updated (KeyvalFormatError), reading request body failed BodyReadError), returns Error 404 - Keyval not found (KeyvalNotFound), -keyval key not found (KeyvalKeyNotFound), returns Error +keyval key not found (KeyvalKeyNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error 413 - Request Entity Too Large, returns Error 415 - JSON error (JsonError), returns Error @@ -1242,7 +1281,8 @@ Possible responses: 204 - Success -404 - Keyval not found (KeyvalNotFound), returns Error +404 - Keyval not found (KeyvalNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -1262,6 +1302,7 @@ Possible responses: 200 - Success, returns an array of strings +404 - Unknown version (UnknownVersion), returns Error @@ -1289,6 +1330,7 @@ Possible responses: 200 - Success, returns a collection of "Stream Server Zone" objects for all stream server zones +404 - Unknown version (UnknownVersion), returns Error @@ -1323,7 +1365,8 @@ Possible responses: 200 - Success, returns Stream Server Zone -404 - Server zone not found (ServerZoneNotFound), returns Error +404 - Server zone not found (ServerZoneNotFound), +unknown version (UnknownVersion), returns Error @@ -1334,7 +1377,8 @@ Possible responses: 204 - Success -404 - Server zone not found (ServerZoneNotFound), returns Error +404 - Server zone not found (ServerZoneNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -1363,6 +1407,7 @@ Possible responses: 200 - Success, returns a collection of "Stream Connections Limiting" objects for all stream limit conns +404 - Unknown version (UnknownVersion), returns Error @@ -1397,7 +1442,8 @@ Possible responses: 200 - Success, returns Stream Connections Limiting -404 - limit_conn not found (LimitConnNotFound), returns Error +404 - limit_conn not found (LimitConnNotFound), +unknown version (UnknownVersion), returns Error @@ -1408,7 +1454,8 @@ Possible responses: 204 - Success -404 - limit_conn not found (LimitConnNotFound), returns Error +404 - limit_conn not found (LimitConnNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -1437,6 +1484,7 @@ Possible responses: 200 - Success, returns a collection of "Stream Upstream" objects for all stream upstreams +404 - Unknown version (UnknownVersion), returns Error @@ -1472,7 +1520,8 @@ Possible responses: 200 - Success, returns Stream Upstream 400 - Upstream is static (UpstreamStatic), returns Error -404 - Upstream not found (UpstreamNotFound), returns Error +404 - Unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error @@ -1484,7 +1533,8 @@ Possible responses: 204 - Success 400 - Upstream is static (UpstreamStatic), returns Error -404 - Upstream not found (UpstreamNotFound), returns Error +404 - Unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -1512,7 +1562,8 @@ Possible responses: 200 - Success, returns an array of Stream Upstream Servers 400 - Upstream is static (UpstreamStatic), returns Error -404 - Upstream not found (UpstreamNotFound), returns Error +404 - Unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error @@ -1551,7 +1602,8 @@ no resolver defined to resolve (name” has no backup (UpstreamNoBackup), upstream “name” memory exhausted (UpstreamOutOfMemory), reading request body failed BodyReadError), returns Error -404 - Upstream not found (UpstreamNotFound), returns Error +404 - Unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error 405 - Method disabled (MethodDisabled), returns Error 415 - JSON error (JsonError), returns Error @@ -1585,7 +1637,8 @@ Possible responses: 200 - Success, returns Stream Upstream Server 400 - Upstream is static (UpstreamStatic), invalid server ID (UpstreamBadServerId), returns Error -404 - Upstream not found (UpstreamNotFound), +404 - Unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), server with ID “id” does not exist (UpstreamServerNotFound), returns Error @@ -1624,8 +1677,9 @@ reading request body failed Bod server “ID” address is immutable (UpstreamServerImmutable), server “ID” weight is immutable (UpstreamServerWeightImmutable), upstream “name” memory exhausted (UpstreamOutOfMemory), returns Error -404 - Upstream not found (UpstreamNotFound), -server with ID “id” does not exist (UpstreamServerNotFound), returns Error +404 - Server with ID “id” does not exist (UpstreamServerNotFound), +unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error 405 - Method disabled (MethodDisabled), returns Error 415 - JSON error (JsonError), returns Error @@ -1641,8 +1695,9 @@ Possible responses: 400 - Upstream is static (UpstreamStatic), invalid server ID (UpstreamBadServerId), server “id” not removable (UpstreamServerImmutable), returns Error -404 - Upstream not found (UpstreamNotFound), -server with ID “id” does not exist (UpstreamServerNotFound), returns Error +404 - Server with ID “id” does not exist (UpstreamServerNotFound), +unknown version (UnknownVersion), +upstream not found (UpstreamNotFound), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -1671,6 +1726,7 @@ Possible responses: 200 - Success, returns a collection of "Stream Keyval Shared Memory Zone" objects for all stream keyvals +404 - Unknown version (UnknownVersion), returns Error @@ -1706,7 +1762,8 @@ Possible responses: 200 - Success, returns Stream Keyval Shared Memory Zone 404 - Keyval not found (KeyvalNotFound), -keyval key not found (KeyvalKeyNotFound), returns Error +keyval key not found (KeyvalKeyNotFound), +unknown version (UnknownVersion), returns Error @@ -1732,7 +1789,8 @@ key required (KeyvalFormatError keyval timeout is not enabled (KeyvalFormatError), only one key can be added (KeyvalFormatError), reading request body failed BodyReadError), returns Error -404 - Keyval not found (KeyvalNotFound), returns Error +404 - Keyval not found (KeyvalNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error 409 - Key already exists (KeyvalKeyExists), returns Error 413 - Request Entity Too Large, returns Error @@ -1762,7 +1820,8 @@ keyval timeout is not enabled ( only one key can be updated (KeyvalFormatError), reading request body failed BodyReadError), returns Error 404 - Keyval not found (KeyvalNotFound), -keyval key not found (KeyvalKeyNotFound), returns Error +keyval key not found (KeyvalKeyNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error 413 - Request Entity Too Large, returns Error 415 - JSON error (JsonError), returns Error @@ -1776,7 +1835,8 @@ Possible responses: 204 - Success -404 - Keyval not found (KeyvalNotFound), returns Error +404 - Keyval not found (KeyvalNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -1796,6 +1856,7 @@ Possible responses: 200 - Success, returns Stream Zone Sync Node +404 - Unknown version (UnknownVersion), returns Error @@ -1823,6 +1884,7 @@ Possible responses: 200 - Success, returns a collection of "Resolver Zone" objects for all resolvers +404 - Unknown version (UnknownVersion), returns Error @@ -1857,7 +1919,8 @@ Possible responses: 200 - Success, returns Resolver Zone -404 - Resolver zone not found (ResolverZoneNotFound), returns Error +404 - Resolver zone not found (ResolverZoneNotFound), +unknown version (UnknownVersion), returns Error @@ -1868,7 +1931,8 @@ Possible responses: 204 - Success -404 - Resolver zone not found (ResolverZoneNotFound), returns Error +404 - Resolver zone not found (ResolverZoneNotFound), +unknown version (UnknownVersion), returns Error 405 - Method disabled (MethodDisabled), returns Error @@ -1897,6 +1961,7 @@ Possible responses: 200 - Success, returns SSL +404 - Unknown version (UnknownVersion), returns Error @@ -1907,6 +1972,7 @@ Possible responses: 204 - Success +404 - Unknown version (UnknownVersion), returns Error diff --git a/yaml/nginx_api.yaml b/yaml/nginx_api.yaml --- a/yaml/nginx_api.yaml +++ b/yaml/nginx_api.yaml @@ -54,6 +54,10 @@ paths: description: Success schema: $ref: '#/definitions/ArrayOfStrings' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' /nginx: get: tags: @@ -75,6 +79,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxObject' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' /processes: get: tags: @@ -91,6 +99,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxProcesses' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' delete: tags: - Processes @@ -102,6 +114,10 @@ paths: responses: '204': description: Success + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' /connections: get: tags: @@ -117,6 +133,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxConnections' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' parameters: - in: query name: fields @@ -133,6 +153,10 @@ paths: responses: '204': description: Success + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' /slabs/: get: tags: @@ -156,6 +180,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxSlabZoneMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/slabs/{slabZoneName}': parameters: - name: slabZoneName @@ -184,7 +212,9 @@ paths: schema: $ref: '#/definitions/NginxSlabZone' '404': - description: Slab not found (*SlabNotFound*) + description: | + Slab not found (*SlabNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' delete: @@ -199,7 +229,9 @@ paths: '204': description: Success '404': - description: Slab not found (*SlabNotFound*) + description: | + Slab not found (*SlabNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -221,6 +253,10 @@ paths: description: Success schema: $ref: '#/definitions/ArrayOfStrings' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' /http/requests: get: tags: @@ -242,6 +278,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxHTTPRequests' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' delete: tags: - HTTP Requests @@ -252,6 +292,10 @@ paths: responses: '204': description: Success + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '405': description: Method disabled (*MethodDisabled*) schema: @@ -279,6 +323,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxHTTPServerZonesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/http/server_zones/{httpServerZoneName}': parameters: - name: httpServerZoneName @@ -306,7 +354,9 @@ paths: schema: $ref: '#/definitions/NginxHTTPServerZone' '404': - description: Server zone not found (*ServerZoneNotFound*) + description: | + Server zone not found (*ServerZoneNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' delete: @@ -321,7 +371,9 @@ paths: '204': description: Success '404': - description: Server zone not found (*ServerZoneNotFound*) + description: | + Server zone not found (*ServerZoneNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -351,6 +403,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxHTTPLocationZonesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/http/location_zones/{httpLocationZoneName}': parameters: - name: httpLocationZoneName @@ -379,7 +435,9 @@ paths: schema: $ref: '#/definitions/NginxHTTPLocationZone' '404': - description: Location zone not found (*LocationZoneNotFound*) + description: | + Location zone not found (*LocationZoneNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' delete: @@ -394,7 +452,9 @@ paths: '204': description: Success '404': - description: Location zone not found (*LocationZoneNotFound*) + description: | + Location zone not found (*LocationZoneNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -425,6 +485,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxHTTPCachesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/http/caches/{httpCacheZoneName}': parameters: - name: httpCacheZoneName @@ -452,7 +516,9 @@ paths: schema: $ref: '#/definitions/NginxHTTPCache' '404': - description: Cache not found (*CacheNotFound*) + description: | + Cache not found (*CacheNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' delete: @@ -466,7 +532,9 @@ paths: '204': description: Success '404': - description: Cache not found (*CacheNotFound*) + description: | + Cache not found (*CacheNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -496,6 +564,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxHTTPLimitConnZonesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/http/limit_conns/{httpLimitConnZoneName}': parameters: - name: httpLimitConnZoneName @@ -527,7 +599,9 @@ paths: schema: $ref: '#/definitions/NginxHTTPLimitConnZone' '404': - description: limit_conn not found (*LimitConnNotFound*) + description: | + limit_conn not found (*LimitConnNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' delete: @@ -541,7 +615,9 @@ paths: '204': description: Success '404': - description: limit_conn not found (*LimitConnNotFound*) + description: | + limit_conn not found (*LimitConnNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -571,6 +647,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxHTTPLimitReqZonesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/http/limit_reqs/{httpLimitReqZoneName}': parameters: - name: httpLimitReqZoneName @@ -602,7 +682,9 @@ paths: schema: $ref: '#/definitions/NginxHTTPLimitReqZone' '404': - description: limit_req not found (*LimitReqNotFound*) + description: | + limit_req not found (*LimitReqNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' delete: @@ -616,7 +698,9 @@ paths: '204': description: Success '404': - description: limit_req not found (*LimitReqNotFound*) + description: | + limit_req not found (*LimitReqNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -646,6 +730,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxHTTPUpstreamMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/http/upstreams/{httpUpstreamName}/': parameters: - name: httpUpstreamName @@ -678,7 +766,9 @@ paths: schema: $ref: '#/definitions/NginxError' '404': - description: Upstream not found (*UpstreamNotFound*) + description: | + Unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' delete: @@ -699,7 +789,9 @@ paths: schema: $ref: '#/definitions/NginxError' '404': - description: Upstream not found (*UpstreamNotFound*) + description: | + Unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '405': @@ -733,7 +825,9 @@ paths: schema: $ref: '#/definitions/NginxError' '404': - description: Upstream not found (*UpstreamNotFound*) + description: | + Unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' post: @@ -785,7 +879,9 @@ paths: schema: $ref: '#/definitions/NginxError' '404': - description: Upstream not found (*UpstreamNotFound*) + description: | + Unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '405': @@ -831,8 +927,9 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*), - server with ID “**id**” does not exist (*UpstreamServerNotFound*) + Server with ID “**id**” does not exist (*UpstreamServerNotFound*), + unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' patch: @@ -884,8 +981,9 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*), - server with ID “**id**” does not exist (*UpstreamServerNotFound*) + Server with ID “**id**” does not exist (*UpstreamServerNotFound*), + unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '405': @@ -919,8 +1017,9 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*), - server with ID “**id**” does not exist (*UpstreamServerNotFound*) + Server with ID “**id**” does not exist (*UpstreamServerNotFound*), + unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '405': @@ -949,6 +1048,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxHTTPKeyvalZonesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/http/keyvals/{httpKeyvalZoneName}': parameters: - name: httpKeyvalZoneName @@ -979,7 +1082,8 @@ paths: '404': description: | Keyval not found (*KeyvalNotFound*), - keyval key not found (*KeyvalKeyNotFound*) + keyval key not found (*KeyvalKeyNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' post: @@ -1023,7 +1127,9 @@ paths: schema: $ref: '#/definitions/NginxError' '404': - description: Keyval not found (*KeyvalNotFound*) + description: | + Keyval not found (*KeyvalNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -1085,7 +1191,8 @@ paths: '404': description: | Keyval not found (*KeyvalNotFound*), - keyval key not found (*KeyvalKeyNotFound*) + keyval key not found (*KeyvalKeyNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -1116,7 +1223,9 @@ paths: '204': description: Success '404': - description: Keyval not found (*KeyvalNotFound*) + description: | + Keyval not found (*KeyvalNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -1137,6 +1246,10 @@ paths: description: Success schema: $ref: '#/definitions/ArrayOfStrings' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' /stream/server_zones/: get: tags: @@ -1160,6 +1273,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxStreamServerZonesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/stream/server_zones/{streamServerZoneName}': parameters: - name: streamServerZoneName @@ -1188,7 +1305,8 @@ paths: $ref: '#/definitions/NginxStreamServerZone' '404': description: | - Server zone not found (*ServerZoneNotFound*) + Server zone not found (*ServerZoneNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' delete: @@ -1204,7 +1322,8 @@ paths: description: Success '404': description: | - Server zone not found (*ServerZoneNotFound*) + Server zone not found (*ServerZoneNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -1234,6 +1353,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxStreamLimitConnZonesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/stream/limit_conns/{streamLimitConnZoneName}': parameters: - name: streamLimitConnZoneName @@ -1265,7 +1388,9 @@ paths: schema: $ref: '#/definitions/NginxStreamLimitConnZone' '404': - description: limit_conn not found (*LimitConnNotFound*) + description: | + limit_conn not found (*LimitConnNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' delete: @@ -1279,7 +1404,9 @@ paths: '204': description: Success '404': - description: limit_conn not found (*LimitConnNotFound*) + description: | + limit_conn not found (*LimitConnNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -1309,6 +1436,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxStreamUpstreamMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/stream/upstreams/{streamUpstreamName}/': parameters: - name: streamUpstreamName @@ -1342,7 +1473,8 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*) + Unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' delete: @@ -1364,7 +1496,8 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*) + Unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '405': @@ -1399,7 +1532,8 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*) + Unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' post: @@ -1452,7 +1586,8 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*) + Unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '405': @@ -1498,7 +1633,8 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*), + Unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*), server with ID “**id**” does not exist (*UpstreamServerNotFound*) schema: $ref: '#/definitions/NginxError' @@ -1551,8 +1687,9 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*), - server with ID “**id**” does not exist (*UpstreamServerNotFound*) + Server with ID “**id**” does not exist (*UpstreamServerNotFound*), + unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '405': @@ -1586,8 +1723,9 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Upstream not found (*UpstreamNotFound*), - server with ID “**id**” does not exist (*UpstreamServerNotFound*) + Server with ID “**id**” does not exist (*UpstreamServerNotFound*), + unknown version (*UnknownVersion*), + upstream not found (*UpstreamNotFound*) schema: $ref: '#/definitions/NginxError' '405': @@ -1616,6 +1754,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxStreamKeyvalZonesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' '/stream/keyvals/{streamKeyvalZoneName}': parameters: - name: streamKeyvalZoneName @@ -1646,7 +1788,8 @@ paths: '404': description: | Keyval not found (*KeyvalNotFound*), - keyval key not found (*KeyvalKeyNotFound*) + keyval key not found (*KeyvalKeyNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' post: @@ -1691,7 +1834,8 @@ paths: $ref: '#/definitions/NginxError' '404': description: | - Keyval not found (*KeyvalNotFound*) + Keyval not found (*KeyvalNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -1753,7 +1897,8 @@ paths: '404': description: | Keyval not found (*KeyvalNotFound*), - keyval key not found (*KeyvalKeyNotFound*) + keyval key not found (*KeyvalKeyNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -1785,7 +1930,8 @@ paths: description: Success '404': description: | - Keyval not found (*KeyvalNotFound*) + Keyval not found (*KeyvalNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -1807,6 +1953,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxStreamZoneSync' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' /resolvers/: get: tags: @@ -1823,6 +1973,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxResolverZonesMap' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' parameters: - in: query name: fields @@ -1858,7 +2012,8 @@ paths: $ref: '#/definitions/NginxResolverZone' '404': description: | - Resolver zone not found (*ResolverZoneNotFound*) + Resolver zone not found (*ResolverZoneNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' delete: @@ -1872,7 +2027,9 @@ paths: '204': description: Success '404': - description: Resolver zone not found (*ResolverZoneNotFound*) + description: | + Resolver zone not found (*ResolverZoneNotFound*), + unknown version (*UnknownVersion*) schema: $ref: '#/definitions/NginxError' '405': @@ -1894,6 +2051,10 @@ paths: description: Success schema: $ref: '#/definitions/NginxSSLObject' + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' parameters: - in: query name: fields @@ -1909,6 +2070,10 @@ paths: responses: '204': description: Success + '404': + description: Unknown version (*UnknownVersion*) + schema: + $ref: '#/definitions/NginxError' ### ###DEFINITIONS ###