Changeset 2500:8a9b2efa92aa in nginx_org


Ignore:
Timestamp:
02/12/20 15:10:47 (6 days ago)
Author:
Yaroslav Zhuravlev <yar@…>
Branch:
default
Phase:
public
Message:

Documented the "Method disabled" error in the API.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xml/en/docs/http/ngx_http_api_module.xml

    r2499 r2500  
    344344<listitem>204 - Success</listitem>
    345345<listitem>404 - Unknown version (<literal>UnknownVersion</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     346<listitem>405 - Method disabled (<literal>MethodDisabled</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    346347</list>
    347348</listitem>
     
    383384<listitem>204 - Success</listitem>
    384385<listitem>404 - Unknown version (<literal>UnknownVersion</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     386<listitem>405 - Method disabled (<literal>MethodDisabled</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    385387</list>
    386388</listitem>
     
    19741976<listitem>204 - Success</listitem>
    19751977<listitem>404 - Unknown version (<literal>UnknownVersion</literal>), returns <link id="def_nginx_error">Error</link></listitem>
     1978<listitem>405 - Method disabled (<literal>MethodDisabled</literal>), returns <link id="def_nginx_error">Error</link></listitem>
    19761979</list>
    19771980</listitem>
  • yaml/nginx_api.yaml

    r2499 r2500  
    119119          schema:
    120120            $ref: '#/definitions/NginxError'
     121        '405':
     122          description: Method disabled (*MethodDisabled*)
     123          schema:
     124            $ref: '#/definitions/NginxError'
    121125  /connections:
    122126    get:
     
    156160        '404':
    157161          description: Unknown version (*UnknownVersion*)
     162          schema:
     163            $ref: '#/definitions/NginxError'
     164        '405':
     165          description: Method disabled (*MethodDisabled*)
    158166          schema:
    159167            $ref: '#/definitions/NginxError'
     
    20732081        '404':
    20742082          description: Unknown version (*UnknownVersion*)
     2083          schema:
     2084            $ref: '#/definitions/NginxError'
     2085        '405':
     2086          description: Method disabled (*MethodDisabled*)
    20752087          schema:
    20762088            $ref: '#/definitions/NginxError'
Note: See TracChangeset for help on using the changeset viewer.