Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api docs: Clean up description of legacy reaction events.

Tim Abbott223d76968072
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index a2d8446d65c..bc06c4760a8 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -14359,14 +14359,19 @@ components:
additionalProperties: false
deprecated: true
description: |
- Whether the user is a mirror dummy.
- Dictionary with data on the user who added the reaction, including
- the user ID as the `id` field. **Note**: In the [events
- API](/api/get-events), this `user` dictionary
- confusing had the user ID in a field called `user_id`
- instead. We recommend ignoring fields other than the user
- ID. **Deprecated** and to be removed in a future release
- once core clients have migrated to use the `user_id` field.
+ **Deprecated** and to be removed in a future release
+ once core clients have migrated to use the adjacent
+ `user_id` field introduced in Zulip 3.0 (feature level
+ 2). Clients supporting older Zulip server versions
+ should just use the user ID below as they would the
+ `user_id` field.
+
+ Dictionary with data on the user who added the
+ reaction, including the user ID as the `id`
+ field. Note that reactions data received from the
+ [events API](/api/get-events) has a slightly different
+ `user` dictionary format, with the user ID field
+ called `user_id` instead.
properties:
id:
type: integer