mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 23:43:43 +00:00
docs: Make get-message-history use curl example system.
This commit is contained in:
@@ -18,10 +18,7 @@ Note that edit history may be disabled in some organizations; see the
|
|||||||
|
|
||||||
{tab|curl}
|
{tab|curl}
|
||||||
|
|
||||||
``` curl
|
{generate_code_example(curl)|/messages/{message_id}/history:get|example}
|
||||||
curl -X GET {{ api_url }}/v1/messages/{message_id}/history \
|
|
||||||
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
|
|
||||||
```
|
|
||||||
|
|
||||||
{end_tabs}
|
{end_tabs}
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ exclude_list = [
|
|||||||
'get-raw-message.md',
|
'get-raw-message.md',
|
||||||
'update-message.md',
|
'update-message.md',
|
||||||
'delete-message.md',
|
'delete-message.md',
|
||||||
|
'get-message-history.md',
|
||||||
]
|
]
|
||||||
|
|
||||||
def test_generated_curl_examples_for_success(client: Client) -> None:
|
def test_generated_curl_examples_for_success(client: Client) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user