docs: Make get-presence use curl example system.

This commit is contained in:
Vishnu KS
2019-10-14 11:42:01 +05:30
committed by Tim Abbott
parent 6f59a17bfe
commit 503e65079a
2 changed files with 2 additions and 4 deletions

View File

@@ -23,10 +23,7 @@ for details on the data model for presence in Zulip.
{tab|curl}
``` curl
curl -X GET {{ api_url }}/v1/users/{email}/presence \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
```
{generate_code_example(curl)|/users/{email}/presence:get|example}
{end_tabs}

View File

@@ -23,6 +23,7 @@ exclude_list = [
'remove-subscriptions.md',
'get-stream-topics.md',
'delete-stream.md',
'get-presence.md',
# Endpoint can be called only by administrators.
'create-user.md',
]