docs: Make get-stream-topics use curl example system.

This commit is contained in:
Vishnu Ks 2019-10-11 11:16:53 +00:00 committed by Tim Abbott
parent bd6b41cb9d
commit 13bdfc0ef8
2 changed files with 2 additions and 4 deletions

View File

@ -31,10 +31,7 @@ zulip(config).then((client) => {
{tab|curl}
``` curl
curl -X GET {{ api_url }}/v1/users/me/{stream_id}/topics \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
```
{generate_code_example(curl)|/users/me/{stream_id}/topics:get|example}
{end_tabs}

View File

@ -21,6 +21,7 @@ exclude_list = [
'mark-as-read-bulk.md',
'update-subscription-properties.md',
'remove-subscriptions.md',
'get-stream-topics.md',
]
def test_generated_curl_examples_for_success(client: Client) -> None: