mirror of https://github.com/zulip/zulip.git
docs: Make get-stream-topics use curl example system.
This commit is contained in:
parent
bd6b41cb9d
commit
13bdfc0ef8
|
@ -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}
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue