zulip/templates/zerver/api/get-stream-topics.md

33 lines
756 B
Markdown
Raw Normal View History

{generate_api_title(/users/me/{stream_id}/topics:get)}
{generate_api_description(/users/me/{stream_id}/topics:get)}
## Usage examples
{start_tabs}
{tab|python}
{generate_code_example(python)|/users/me/{stream_id}/topics:get|example}
{generate_code_example(javascript)|/users/me/{stream_id}/topics:get|example}
{tab|curl}
{generate_code_example(curl)|/users/me/{stream_id}/topics:get|example}
{end_tabs}
## Parameters
{generate_api_arguments_table|zulip.yaml|/users/me/{stream_id}/topics:get}
## Response
{generate_return_values_table|zulip.yaml|/users/me/{stream_id}/topics:get}
#### Example response
{generate_code_example|/users/me/{stream_id}/topics:get|fixture(200)}
{generate_code_example|/users/me/{stream_id}/topics:get|fixture(400)}