Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api_docs: Link to message-formatting article where relevant.
Apoorva Pendse61665760594a
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 18f982f4c0d..ea732f00503 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -575,6 +575,8 @@ paths:This user-generated HTML content should be renderedusing the same CSS and client-side security protectionsas are used for message content.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.- type: objectadditionalProperties: falsedescription: |@@ -1552,6 +1554,8 @@ paths:work correctly. And any client-side security logic foruser-generated message content should be applied when displayingthis HTML as though it were the body of a Zulip message.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.history_public_to_subscribers:type: booleandescription: |@@ -2727,7 +2731,7 @@ paths:Only present if this event changed the message content.The original content of the message with ID `message_id`- immediately prior to this edit, in the original markdown.+ immediately prior to this edit, in the original [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format.orig_rendered_content:type: stringdescription: |@@ -2735,6 +2739,8 @@ paths:The original content of the message with ID `message_id`immediately prior to this edit, rendered as HTML.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.content:type: stringdescription: |@@ -2743,7 +2749,7 @@ paths:[inline URL preview][inline-url-previews].The new content of the message with ID `message_id`, in the- original Markdown.+ original [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format.rendered_content:type: stringdescription: |@@ -2753,6 +2759,8 @@ paths:The new content of the message with ID `message_id`,rendered in HTML.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.is_me_message:type: booleandescription: |@@ -6073,6 +6081,8 @@ paths:description: |The new description of the channel folder. Only present if thedescription changed.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.rendered_description:type: stringdescription: |@@ -7010,7 +7020,7 @@ paths:content:type: stringdescription: |- The content of the saved snippet in text/markdown format.+ The content of the saved snippet in [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format.Clients should insert this content into a message when usinga saved snippet.@@ -7085,7 +7095,7 @@ paths:content:type: stringdescription: |- The content of the saved snippet in text/markdown format.+ The content of the saved snippet in the original [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format.Clients should insert this content into a message when usinga saved snippet.@@ -7952,6 +7962,8 @@ paths:If `true`, message content is returned in the rendered HTMLformat. If `false`, message content is returned in the rawMarkdown-format text that user entered.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.schema:type: booleandefault: true@@ -8523,18 +8535,21 @@ paths:content:type: stringdescription: |- The raw Markdown content of the message+ The raw [Zulip-flavored Markdown](/help/format-your-message-using-markdown) content of the messageimmediately after this edit event.+rendered_content:type: stringdescription: |The rendered HTML representation of `content`.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.prev_content:type: stringdescription: |Only present if message's content was edited.- The raw Markdown content of the message immediately+ The raw [Zulip-flavored Markdown](/help/format-your-message-using-markdown) content of the message immediatelyprior to this edit event.prev_rendered_content:type: string@@ -8542,6 +8557,8 @@ paths:Only present if message's content was edited.The rendered HTML representation of `prev_content`.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.user_id:type: integernullable: true@@ -9375,7 +9392,7 @@ paths:Additionally, a `raw_content` field is included. This field isuseful for clients that primarily work with HTML-renderedmessages but might need to occasionally fetch the message's- raw Markdown (e.g. for [view+ raw [Zulip-flavored Markdown](/help/format-your-message-using-markdown) (e.g. for [viewsource](/help/view-the-markdown-source-of-a-message) orprefilling a message edit textarea).@@ -9388,7 +9405,7 @@ paths:description: |If `true`, message content is returned in the rendered HTMLformat. If `false`, message content is returned in the raw- Markdown-format text that user entered.+ [Zulip-flavored Markdown format](/help/format-your-message-using-markdown) text that user entered.**Changes**: New in Zulip 5.0 (feature level 120).schema:@@ -9430,6 +9447,8 @@ paths:description: |The raw Markdown content of the message.+ See the help center article on [message formatting](/help/format-your-message-using-markdown) for details on Zulip-flavored Markdown.+**Deprecated** and to be removed once no longer required forlegacy clients. Modern clients should prefer passing`"apply_markdown": false` to request raw message content.@@ -11708,6 +11727,8 @@ paths:The [description](/help/change-the-channel-description)to use for a new channel being created, in text/markdown format.+ See the help center article on [message formatting](/help/format-your-message-using-markdown) for details on Zulip-flavored Markdown.+Clients should use the `max_stream_description_length` returnedby the [`POST /register`](/api/register-queue) endpoint todetermine the maximum channel description length.@@ -22175,7 +22196,7 @@ paths:description:description: |The new [description](/help/change-the-channel-description) for- the channel, in text/markdown format.+ the channel, in [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format.Clients should use the `max_stream_description_length` returnedby the [`POST /register`](/api/register-queue) endpoint to@@ -24227,7 +24248,7 @@ paths:data:type: stringdescription: |- The message content, in raw Markdown format (not rendered to HTML).+ The message content, in raw [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format (not rendered to HTML).trigger:type: stringdescription: |@@ -24277,6 +24298,8 @@ paths:type: stringdescription: |The content/body of the message rendered in HTML.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.example:{"data": "@**Outgoing webhook test** Zulip is the world\u2019s most productive group chat!",@@ -24557,9 +24580,11 @@ components:description:type: stringdescription: |- The short description of the channel in text/markdown format,+ The short description of the channel in [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format,intended to be used to prepopulate UI for editing a channel'sdescription.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.date_created:type: integerdescription: |@@ -25589,10 +25614,12 @@ components:description:type: stringdescription: |- The [description](/help/change-the-channel-description) of the channel in text/markdown format,+ The [description](/help/change-the-channel-description) of the channel in [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format,intended to be used to prepopulate UI for editing a channel'sdescription.+ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.+See also `rendered_description`.rendered_description:type: string@@ -26068,12 +26095,17 @@ components:type: stringdescription: |The content/body of the message.+ When `apply_markdown` is set, it will be in HTML format.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.content_type:type: stringdescription: |The HTTP `content_type` for the message content. Thiswill be `text/html` or `text/x-markdown`, depending onwhether `apply_markdown` was set.++ See the help center article on [message formatting](/help/format-your-message-using-markdown) for details on Zulip-flavored Markdown.display_recipient:oneOf:- type: string@@ -26121,6 +26153,8 @@ components:Only present if message's content was edited.The rendered HTML representation of `prev_content`.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.prev_stream:type: integerdescription: |@@ -26609,7 +26643,7 @@ components:content:type: stringdescription: |- The content of the saved snippet in text/markdown format.+ The content of the saved snippet in [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format.Clients should insert this content into a message when usinga saved snippet.@@ -26659,7 +26693,9 @@ components:content:type: stringdescription: |- The content/body of the scheduled message, in text/markdown format.+ The content/body of the scheduled message, in [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.rendered_content:type: stringdescription: |@@ -26735,7 +26771,9 @@ components:content:type: stringdescription: |- The content/body of the reminder, in text/markdown format.+ The content/body of the reminder, in [Zulip-flavored Markdown](/help/format-your-message-using-markdown) format.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.rendered_content:type: stringdescription: |@@ -27021,6 +27059,8 @@ components:This user-generated HTML content should be renderedusing the same CSS and client-side security protectionsas are used for message content.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.ChannelFolder:type: objectadditionalProperties: false@@ -27046,6 +27086,8 @@ components:type: stringdescription: |The description of the channel folder.++ See [Markdown message formatting](/api/message-formatting) for details on Zulip's HTML format.rendered_description:type: stringdescription: |