From c69e129c4c58c7c609050101c122dce9016ccfdb Mon Sep 17 00:00:00 2001 From: Grey Moore Date: Wed, 18 Mar 2026 10:23:32 -0400 Subject: [PATCH 1/3] Auth API: add disable_rsvp_form to event update --- source/includes/authenticated_api/_events.md.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/source/includes/authenticated_api/_events.md.erb b/source/includes/authenticated_api/_events.md.erb index 2d446f3e7aa..3ed0912431f 100644 --- a/source/includes/authenticated_api/_events.md.erb +++ b/source/includes/authenticated_api/_events.md.erb @@ -336,6 +336,7 @@ Field | Type | Description bluesky_share_message | String | Custom message used when sharing the event on Bluesky campaigner_contactable | Boolean | Whether members of the public can contact the event host via the public event page description | String | Description of the event +disable_rsvp_form | Boolean | Prevents new RSVPs via the event page, by replacing the RSVP form with a message that RSVPs are closed event_host_name_override | String | Name to display for the event host on the event page. Set to `null` to use the name from the event host's user account. extra_location_info | String | Additional non-address information about the event's location, e.g. "7th floor" or "Park in the back parking lot" facebook_share_description | String | Custom description used when sharing the event on Facebook From f11a43a470883500130dfab84dfde8d3b034d9d6 Mon Sep 17 00:00:00 2001 From: Grey Moore Date: Wed, 18 Mar 2026 10:38:28 -0400 Subject: [PATCH 2/3] disable_rsvp_form included in API responses --- source/includes/authenticated_api/_events.md.erb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/includes/authenticated_api/_events.md.erb b/source/includes/authenticated_api/_events.md.erb index 3ed0912431f..20e68eb3915 100644 --- a/source/includes/authenticated_api/_events.md.erb +++ b/source/includes/authenticated_api/_events.md.erb @@ -75,7 +75,8 @@ The authenticated REST API endpoints for events only deal with events created in "twitter_share_title": "Deliver the Petition to the Wizard", "web_share_api_share_message": "Check out this event in the Emerald City", "whatsapp_share_message": "I'm attending this event to deliver the petition. Join me!", - "share_by_email_body": "I'm attending this event and thought you might be interested. Will you join me?" + "share_by_email_body": "I'm attending this event and thought you might be interested. Will you join me?", + "disable_rsvp_form": false }, ... ], @@ -162,7 +163,8 @@ The response includes all the same data as the single-event endpoint for each ev "twitter_share_title": "Deliver the Petition to the Wizard", "web_share_api_share_message": "Check out this event in the Emerald City", "whatsapp_share_message": "I'm attending this event to deliver the petition. Join me!", - "share_by_email_body": "I'm attending this event and thought you might be interested. Will you join me?" + "share_by_email_body": "I'm attending this event and thought you might be interested. Will you join me?", + "disable_rsvp_form": false } } ``` @@ -293,7 +295,8 @@ the event `slug` is `chapter-meeting-1`. "twitter_share_title": null, "web_share_api_share_message": null, "whatsapp_share_message": null, - "share_by_email_body": null + "share_by_email_body": null, + "disable_rsvp_form": null } } ``` From ddaddf56c757d9510ea3592b3c5bf039778b3e75 Mon Sep 17 00:00:00 2001 From: Grey Moore Date: Thu, 19 Mar 2026 10:57:09 -0400 Subject: [PATCH 3/3] update example: disable_rsvp_form will be false in initial create response --- source/includes/authenticated_api/_events.md.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/authenticated_api/_events.md.erb b/source/includes/authenticated_api/_events.md.erb index 20e68eb3915..56a72a3da56 100644 --- a/source/includes/authenticated_api/_events.md.erb +++ b/source/includes/authenticated_api/_events.md.erb @@ -296,7 +296,7 @@ the event `slug` is `chapter-meeting-1`. "web_share_api_share_message": null, "whatsapp_share_message": null, "share_by_email_body": null, - "disable_rsvp_form": null + "disable_rsvp_form": false } } ```