Mercurial > hg > nginx-site
comparison yaml/nginx_api.yaml @ 2494:78d4e25adf49
Documented "BodyReadError" in the API.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 29 Jan 2020 19:21:26 +0000 |
parents | 407147d8020f |
children | 20dbb29cbe05 |
comparison
equal
deleted
inserted
replaced
2493:407147d8020f | 2494:78d4e25adf49 |
---|---|
774 invalid “*weight*” (*UpstreamBadWeight*), | 774 invalid “*weight*” (*UpstreamBadWeight*), |
775 invalid “*max_conns*” (*UpstreamBadMaxConns*), | 775 invalid “*max_conns*” (*UpstreamBadMaxConns*), |
776 invalid “*max_fails*” (*UpstreamBadMaxFails*), | 776 invalid “*max_fails*” (*UpstreamBadMaxFails*), |
777 invalid “*fail_timeout*” (*UpstreamBadFailTimeout*), | 777 invalid “*fail_timeout*” (*UpstreamBadFailTimeout*), |
778 invalid “*slow_start*” (*UpstreamBadSlowStart*), | 778 invalid “*slow_start*” (*UpstreamBadSlowStart*), |
779 reading request body failed *BodyReadError*), | |
779 route is too long (*UpstreamBadRoute*), | 780 route is too long (*UpstreamBadRoute*), |
780 “*service*” is empty (*UpstreamBadService*), | 781 “*service*” is empty (*UpstreamBadService*), |
781 no resolver defined to resolve (*UpstreamConfNoResolver*), | 782 no resolver defined to resolve (*UpstreamConfNoResolver*), |
782 upstream “**name**” has no backup (*UpstreamNoBackup*), | 783 upstream “**name**” has no backup (*UpstreamNoBackup*), |
783 upstream “**name**” memory exhausted (*UpstreamOutOfMemory*) | 784 upstream “**name**” memory exhausted (*UpstreamOutOfMemory*) |
871 invalid “*weight*” (*UpstreamBadWeight*), | 872 invalid “*weight*” (*UpstreamBadWeight*), |
872 invalid “*max_conns*” (*UpstreamBadMaxConns*), | 873 invalid “*max_conns*” (*UpstreamBadMaxConns*), |
873 invalid “*max_fails*” (*UpstreamBadMaxFails*), | 874 invalid “*max_fails*” (*UpstreamBadMaxFails*), |
874 invalid “*fail_timeout*” (*UpstreamBadFailTimeout*), | 875 invalid “*fail_timeout*” (*UpstreamBadFailTimeout*), |
875 invalid “*slow_start*” (*UpstreamBadSlowStart*), | 876 invalid “*slow_start*” (*UpstreamBadSlowStart*), |
877 reading request body failed *BodyReadError*), | |
876 route is too long (*UpstreamBadRoute*), | 878 route is too long (*UpstreamBadRoute*), |
877 “*service*” is empty (*UpstreamBadService*), | 879 “*service*” is empty (*UpstreamBadService*), |
878 server “**ID**” address is immutable (*UpstreamServerImmutable*), | 880 server “**ID**” address is immutable (*UpstreamServerImmutable*), |
879 server “*ID*” weight is immutable (*UpstreamServerWeightImmutable*), | 881 server “*ID*” weight is immutable (*UpstreamServerWeightImmutable*), |
880 upstream “*name*” memory exhausted (*UpstreamOutOfMemory*) | 882 upstream “*name*” memory exhausted (*UpstreamOutOfMemory*) |
1014 description: | | 1016 description: | |
1015 Invalid JSON (*KeyvalFormatError*), | 1017 Invalid JSON (*KeyvalFormatError*), |
1016 invalid key format (*KeyvalFormatError*), | 1018 invalid key format (*KeyvalFormatError*), |
1017 key required (*KeyvalFormatError*), | 1019 key required (*KeyvalFormatError*), |
1018 keyval timeout is not enabled (*KeyvalFormatError*), | 1020 keyval timeout is not enabled (*KeyvalFormatError*), |
1019 only one key can be added (*KeyvalFormatError*) | 1021 only one key can be added (*KeyvalFormatError*), |
1022 reading request body failed *BodyReadError*) | |
1020 schema: | 1023 schema: |
1021 $ref: '#/definitions/NginxError' | 1024 $ref: '#/definitions/NginxError' |
1022 '404': | 1025 '404': |
1023 description: Keyval not found (*KeyvalNotFound*) | 1026 description: Keyval not found (*KeyvalNotFound*) |
1024 schema: | 1027 schema: |
1073 '400': | 1076 '400': |
1074 description: | | 1077 description: | |
1075 Invalid JSON (*KeyvalFormatError*), | 1078 Invalid JSON (*KeyvalFormatError*), |
1076 key required (*KeyvalFormatError*), | 1079 key required (*KeyvalFormatError*), |
1077 keyval timeout is not enabled (*KeyvalFormatError*), | 1080 keyval timeout is not enabled (*KeyvalFormatError*), |
1078 only one key can be updated (*KeyvalFormatError*) | 1081 only one key can be updated (*KeyvalFormatError*), |
1082 reading request body failed *BodyReadError*) | |
1079 schema: | 1083 schema: |
1080 $ref: '#/definitions/NginxError' | 1084 $ref: '#/definitions/NginxError' |
1081 '404': | 1085 '404': |
1082 description: | | 1086 description: | |
1083 Keyval not found (*KeyvalNotFound*), | 1087 Keyval not found (*KeyvalNotFound*), |
1440 invalid “*fail_timeout*” (*UpstreamBadFailTimeout*), | 1444 invalid “*fail_timeout*” (*UpstreamBadFailTimeout*), |
1441 invalid “*slow_start*” (*UpstreamBadSlowStart*), | 1445 invalid “*slow_start*” (*UpstreamBadSlowStart*), |
1442 “*service*” is empty (*UpstreamBadService*), | 1446 “*service*” is empty (*UpstreamBadService*), |
1443 no resolver defined to resolve (*UpstreamConfNoResolver*), | 1447 no resolver defined to resolve (*UpstreamConfNoResolver*), |
1444 upstream “**name**” has no backup (*UpstreamNoBackup*), | 1448 upstream “**name**” has no backup (*UpstreamNoBackup*), |
1445 upstream “**name**” memory exhausted (*UpstreamOutOfMemory*) | 1449 upstream “**name**” memory exhausted (*UpstreamOutOfMemory*), |
1450 reading request body failed *BodyReadError*) | |
1446 schema: | 1451 schema: |
1447 $ref: '#/definitions/NginxError' | 1452 $ref: '#/definitions/NginxError' |
1448 '404': | 1453 '404': |
1449 description: | | 1454 description: | |
1450 Upstream not found (*UpstreamNotFound*) | 1455 Upstream not found (*UpstreamNotFound*) |
1535 invalid “*weight*” (*UpstreamBadWeight*), | 1540 invalid “*weight*” (*UpstreamBadWeight*), |
1536 invalid “*max_conns*” (*UpstreamBadMaxConns*), | 1541 invalid “*max_conns*” (*UpstreamBadMaxConns*), |
1537 invalid “*max_fails*” (*UpstreamBadMaxFails*), | 1542 invalid “*max_fails*” (*UpstreamBadMaxFails*), |
1538 invalid “*fail_timeout*” (*UpstreamBadFailTimeout*), | 1543 invalid “*fail_timeout*” (*UpstreamBadFailTimeout*), |
1539 invalid “*slow_start*” (*UpstreamBadSlowStart*), | 1544 invalid “*slow_start*” (*UpstreamBadSlowStart*), |
1545 reading request body failed *BodyReadError*), | |
1540 “*service*” is empty (*UpstreamBadService*), | 1546 “*service*” is empty (*UpstreamBadService*), |
1541 server “**ID**” address is immutable (*UpstreamServerImmutable*), | 1547 server “**ID**” address is immutable (*UpstreamServerImmutable*), |
1542 server “**ID**” weight is immutable (*UpstreamServerWeightImmutable*), | 1548 server “**ID**” weight is immutable (*UpstreamServerWeightImmutable*), |
1543 upstream “*name*” memory exhausted (*UpstreamOutOfMemory*) | 1549 upstream “*name*” memory exhausted (*UpstreamOutOfMemory*) |
1544 schema: | 1550 schema: |
1677 description: | | 1683 description: | |
1678 Invalid JSON (*KeyvalFormatError*), | 1684 Invalid JSON (*KeyvalFormatError*), |
1679 invalid key format (*KeyvalFormatError*), | 1685 invalid key format (*KeyvalFormatError*), |
1680 key required (*KeyvalFormatError*), | 1686 key required (*KeyvalFormatError*), |
1681 keyval timeout is not enabled (*KeyvalFormatError*), | 1687 keyval timeout is not enabled (*KeyvalFormatError*), |
1682 only one key can be added (*KeyvalFormatError*) | 1688 only one key can be added (*KeyvalFormatError*), |
1689 reading request body failed *BodyReadError*) | |
1683 schema: | 1690 schema: |
1684 $ref: '#/definitions/NginxError' | 1691 $ref: '#/definitions/NginxError' |
1685 '404': | 1692 '404': |
1686 description: | | 1693 description: | |
1687 Keyval not found (*KeyvalNotFound*) | 1694 Keyval not found (*KeyvalNotFound*) |
1737 '400': | 1744 '400': |
1738 description: | | 1745 description: | |
1739 Invalid JSON (*KeyvalFormatError*), | 1746 Invalid JSON (*KeyvalFormatError*), |
1740 key required (*KeyvalFormatError*), | 1747 key required (*KeyvalFormatError*), |
1741 keyval timeout is not enabled (*KeyvalFormatError*), | 1748 keyval timeout is not enabled (*KeyvalFormatError*), |
1742 only one key can be updated (*KeyvalFormatError*) | 1749 only one key can be updated (*KeyvalFormatError*), |
1750 reading request body failed *BodyReadError*) | |
1743 schema: | 1751 schema: |
1744 $ref: '#/definitions/NginxError' | 1752 $ref: '#/definitions/NginxError' |
1745 '404': | 1753 '404': |
1746 description: | | 1754 description: | |
1747 Keyval not found (*KeyvalNotFound*), | 1755 Keyval not found (*KeyvalNotFound*), |