zulip/templates/zerver/api/get-attachments.md

612 B

{generate_api_title(/attachments:get)}

{generate_api_description(/attachments:get)}

Usage examples

{start_tabs} {tab|python}

{generate_code_example(python)|/attachments:get|example}

{generate_code_example(javascript)|/attachments:get|example}

{tab|curl}

{generate_code_example(curl)|/attachments:get|example}

{end_tabs}

Parameters

{generate_api_arguments_table|zulip.yaml|/attachments:get}

Response

{generate_return_values_table|zulip.yaml|/attachments:get}

Example response

{generate_code_example|/attachments:get|fixture(200)}

{generate_code_example|/attachments:get|fixture(400)}