api-docs: Mark giphy_rating_options requires realm in fetch_event_types.

Noted absent by Chris Bobbe at:
https://chat.zulip.org/#narrow/stream/378-api-design/topic/.60giphy_rating_options.60.20in.20.2Fregister.20response/near/1282161

Confirmed by Tim Abbott in the same topic, and reconciled with zerver/lib/events.py.
This commit is contained in:
neiljp (Neil Pilgrim) 2023-08-25 13:29:54 -07:00 committed by Tim Abbott
parent 942d702830
commit 15cc63174a
1 changed files with 2 additions and 0 deletions

View File

@ -13856,6 +13856,8 @@ paths:
giphy_rating_options:
type: object
description: |
Present if `realm` is present in `fetch_event_types`.
Dictionary where each entry describes a valid rating
that is configured on this server and could be selected by an
organization administrator.