mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
api docs: Advertise "topic" argument instead of "subject" on /messages.
They have the same meaning but we're transitioning away from the "subject" terminology, so we should advertise "topic" in docs.
This commit is contained in:
committed by
Tim Abbott
parent
86721c3be5
commit
bbafced254
@@ -582,7 +582,7 @@ def send_message(client):
|
|||||||
request = {
|
request = {
|
||||||
"type": "stream",
|
"type": "stream",
|
||||||
"to": "Denmark",
|
"to": "Denmark",
|
||||||
"subject": "Castle",
|
"topic": "Castle",
|
||||||
"content": "I come not, friends, to steal away your hearts."
|
"content": "I come not, friends, to steal away your hearts."
|
||||||
}
|
}
|
||||||
result = client.send_message(request)
|
result = client.send_message(request)
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ paths:
|
|||||||
"sender_id": 13215,
|
"sender_id": 13215,
|
||||||
"sender_realm_str": "example",
|
"sender_realm_str": "example",
|
||||||
"sender_short_name": "othello-bot",
|
"sender_short_name": "othello-bot",
|
||||||
"subject": "Castle",
|
"topic": "Castle",
|
||||||
"subject_links": [],
|
"subject_links": [],
|
||||||
"timestamp": 1375978403,
|
"timestamp": 1375978403,
|
||||||
"type": "stream"
|
"type": "stream"
|
||||||
|
|||||||
Reference in New Issue
Block a user