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

33 lines
545 B
Markdown

# Get attachments
{generate_api_description(/attachments:get)}
## Usage examples
{start_tabs}
{tab|python}
{generate_code_example(python)|/attachments:get|example}
{tab|curl}
{generate_code_example(curl)|/attachments:get|example}
{end_tabs}
## Parameters
{generate_api_arguments_table|zulip.yaml|/attachments:get}
## Response
#### Return values
{generate_return_values_table|zulip.yaml|/attachments:get}
#### Example response
A typical successful JSON response may look like:
{generate_code_example|/attachments:get|fixture(200)}