Skip to content

Commit

Permalink
docs: Make mute-topics.md use curl example system.
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerkid authored and timabbott committed Oct 15, 2019
1 parent 13bdfc0 commit 04cc121
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions templates/zerver/api/mute-topics.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ UI, and are not included in the user's unread count totals.

{tab|curl}

``` curl
curl -X PATCH {{ api_url }}/v1/users/me/subscriptions/muted_topics \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY \
-d "stream=Verona"
-d "topic=dinner"
-d "op=add"
```
{generate_code_example(curl, exclude=["stream_id"])|/users/me/subscriptions/muted_topics:patch|example}

{end_tabs}

Expand Down

0 comments on commit 04cc121

Please sign in to comment.