2022-07-21 00:01:06 +02:00
|
|
|
{generate_api_header(API_ENDPOINT_NAME)}
|
2021-05-23 13:27:41 +02:00
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
|
|
|
|
{generate_code_example(python)|API_ENDPOINT_NAME|example}
|
|
|
|
|
|
|
|
{generate_code_example(javascript)|API_ENDPOINT_NAME|example}
|
|
|
|
|
|
|
|
{tab|curl}
|
|
|
|
|
|
|
|
{generate_code_example(curl)|API_ENDPOINT_NAME|example}
|
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
{generate_api_arguments_table|zulip.yaml|API_ENDPOINT_NAME}
|
|
|
|
|
|
|
|
{generate_parameter_description(API_ENDPOINT_NAME)}
|
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
{generate_return_values_table|zulip.yaml|API_ENDPOINT_NAME}
|
|
|
|
|
|
|
|
{generate_response_description(API_ENDPOINT_NAME)}
|
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
2021-07-13 17:33:43 +02:00
|
|
|
{generate_code_example|API_ENDPOINT_NAME|fixture}
|