Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Update feature level 435 for changes to report_type param.
Lauryn Menard21689d3f9143
diff --git a/api_docs/changelog.md b/api_docs/changelog.mdindex 5bb5de101bd..ffd23c2ac5a 100644--- a/api_docs/changelog.md+++ b/api_docs/changelog.md@@ -286,6 +286,12 @@ element to plain escaped text.* [`POST /register`](/api/register-queue): Added `server_report_message_types`field which contains a list of supported report types for the [messagereport](/help/report-a-message) feature.+* [`POST /message/{message_id}/report`](/api/report-message): Clients+ that support the [message report](/help/report-a-message) feature+ should use the `key` values in the `server_report_message_types` as the+ valid values for the `report_type` parameter. Prior to this feature+ level, the valid values for the `report_type` parameter were limited to:+ `"harassment"`, `"inappropriate"`, `"norms"`, `"other"`, `"spam"`.**Feature level 434**@@ -774,8 +780,9 @@ No changes; API feature level used for the Zulip 11.0 release.**Feature level 382**-* `POST /message/{message_id}/report`: Added a new endpoint for submitting- a moderation request for a message.+* [`POST /message/{message_id}/report`](/api/report-message): Added a new+ endpoint for [submitting a moderation request](/help/report-a-message)+ for a message.**Feature level 381**diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 82d6f753084..b21fdf75b2b 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -10275,9 +10275,9 @@ paths:summary: Report a messagetags: ["messages"]description: |- Sends a notification to the organization's moderation request channel,- if it is configured, that reports the targeted message for review and- moderation.+ Sends a notification to the organization's [moderation request+ channel](/help/enable-moderation-requests), if it is configured, that+ reports the targeted message for [review and moderation](/help/report-a-message).Clients should check the `moderation_request_channel` realm setting todecide whether to show the option to report messages in the UI.@@ -10302,13 +10302,14 @@ paths:description: |The reason that best describes why the current user is reporting thetarget message for moderation.++ Must be one of the `key` values in the `server_report_message_types`+ field in the [`POST /register`](/api/register-queue) response.++ **Changes**: Prior to Zulip 12.0 (feature level 435), the allowed+ values for this parameter were limited to: `"harassment"`,+ `"inappropriate"`, `"norms"`, `"other"`, `"spam"`.type: string- enum:- - spam- - harassment- - inappropriate- - norms- - otherexample: harassmentdescription:description: |