docs: Make get-events-from-queue use curl example system.

This commit is contained in:
Vishnu Ks
2019-10-14 10:25:54 +00:00
committed by Tim Abbott
parent 33f7ae7766
commit f7add25cc2
2 changed files with 2 additions and 6 deletions

View File

@@ -62,12 +62,7 @@ zulip(config).then((client) => {
{tab|curl}
``` curl
curl -X GET {{ api_url }}/v1/events \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY \
-d "queue_id=1375801870:2942" \
-d "last_event_id=-1"
```
{generate_code_example(curl, include=["queue_id", "last_event_id"])|/events:get|example}
{end_tabs}

View File

@@ -28,6 +28,7 @@ exclude_list = [
'update-user-group.md',
'delete-user-group.md',
'add-linkifiers.md',
'get-events-from-queue.md',
# Endpoint can be called only by administrators.
'create-user.md',
'remove-linkifiers.md',