2020-03-20 23:23:25 +01:00
|
|
|
# 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}
|
|
|
|
|
2020-06-18 15:35:25 +02:00
|
|
|
## Parameters
|
2020-03-20 23:23:25 +01:00
|
|
|
|
|
|
|
{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)}
|