|
|
@ -13,7 +13,10 @@
|
|
|
|
{{":Rate-limited: Yes." if endpoint.rate_limited else "" }}
|
|
|
|
{{":Rate-limited: Yes." if endpoint.rate_limited else "" }}
|
|
|
|
{{":Requires auth: Yes." if endpoint.requires_auth else "" }}
|
|
|
|
{{":Requires auth: Yes." if endpoint.requires_auth else "" }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. class:: httpheaders
|
|
|
|
|
|
|
|
|
|
|
|
Request format:
|
|
|
|
Request format:
|
|
|
|
|
|
|
|
|
|
|
|
{% if (endpoint.req_param_by_loc | length) %}
|
|
|
|
{% if (endpoint.req_param_by_loc | length) %}
|
|
|
|
{{ tables.split_paramtable(endpoint.req_param_by_loc) }}
|
|
|
|
{{ tables.split_paramtable(endpoint.req_param_by_loc) }}
|
|
|
|
{% if (endpoint.req_body_tables) %}
|
|
|
|
{% if (endpoint.req_body_tables) %}
|
|
|
@ -28,12 +31,18 @@ Request format:
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if endpoint.res_headers is not none -%}
|
|
|
|
{% if endpoint.res_headers is not none -%}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. class:: httpheaders
|
|
|
|
|
|
|
|
|
|
|
|
Response headers:
|
|
|
|
Response headers:
|
|
|
|
|
|
|
|
|
|
|
|
{{ tables.paramtable(endpoint.res_headers.rows) }}
|
|
|
|
{{ tables.paramtable(endpoint.res_headers.rows) }}
|
|
|
|
{% endif -%}
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
|
|
|
|
{% if endpoint.res_tables|length > 0 -%}
|
|
|
|
{% if endpoint.res_tables|length > 0 -%}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. class:: httpheaders
|
|
|
|
|
|
|
|
|
|
|
|
Response format:
|
|
|
|
Response format:
|
|
|
|
|
|
|
|
|
|
|
|
{% for table in endpoint.res_tables -%}
|
|
|
|
{% for table in endpoint.res_tables -%}
|
|
|
@ -44,6 +53,8 @@ Response format:
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif -%}
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. class:: httpheaders
|
|
|
|
|
|
|
|
|
|
|
|
Example request:
|
|
|
|
Example request:
|
|
|
|
|
|
|
|
|
|
|
|
.. code:: http
|
|
|
|
.. code:: http
|
|
|
@ -51,6 +62,9 @@ Example request:
|
|
|
|
{{endpoint.example.req | indent_block(2)}}
|
|
|
|
{{endpoint.example.req | indent_block(2)}}
|
|
|
|
|
|
|
|
|
|
|
|
{% if endpoint.responses|length > 0 -%}
|
|
|
|
{% if endpoint.responses|length > 0 -%}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. class:: httpheaders
|
|
|
|
|
|
|
|
|
|
|
|
Response{{"s" if endpoint.responses|length > 1 else "" }}:
|
|
|
|
Response{{"s" if endpoint.responses|length > 1 else "" }}:
|
|
|
|
|
|
|
|
|
|
|
|
{% endif -%}
|
|
|
|
{% endif -%}
|
|
|
@ -63,6 +77,8 @@ Response{{"s" if endpoint.responses|length > 1 else "" }}:
|
|
|
|
|
|
|
|
|
|
|
|
{% if res["example"] -%}
|
|
|
|
{% if res["example"] -%}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. class:: httpheaders
|
|
|
|
|
|
|
|
|
|
|
|
Example
|
|
|
|
Example
|
|
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
.. code:: json
|
|
|
|