You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add disable_rsvp_form field to authenticated API endpoints for events (#194)
* Auth API: add disable_rsvp_form to event update
* disable_rsvp_form included in API responses
* update example: disable_rsvp_form will be false in initial create response
Copy file name to clipboardExpand all lines: source/includes/authenticated_api/_events.md.erb
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,8 @@ The authenticated REST API endpoints for events only deal with events created in
75
75
"twitter_share_title": "Deliver the Petition to the Wizard",
76
76
"web_share_api_share_message": "Check out this event in the Emerald City",
77
77
"whatsapp_share_message": "I'm attending this event to deliver the petition. Join me!",
78
-
"share_by_email_body": "I'm attending this event and thought you might be interested. Will you join me?"
78
+
"share_by_email_body": "I'm attending this event and thought you might be interested. Will you join me?",
79
+
"disable_rsvp_form": false
79
80
},
80
81
...
81
82
],
@@ -162,7 +163,8 @@ The response includes all the same data as the single-event endpoint for each ev
162
163
"twitter_share_title": "Deliver the Petition to the Wizard",
163
164
"web_share_api_share_message": "Check out this event in the Emerald City",
164
165
"whatsapp_share_message": "I'm attending this event to deliver the petition. Join me!",
165
-
"share_by_email_body": "I'm attending this event and thought you might be interested. Will you join me?"
166
+
"share_by_email_body": "I'm attending this event and thought you might be interested. Will you join me?",
167
+
"disable_rsvp_form": false
166
168
}
167
169
}
168
170
```
@@ -293,7 +295,8 @@ the event `slug` is `chapter-meeting-1`.
293
295
"twitter_share_title": null,
294
296
"web_share_api_share_message": null,
295
297
"whatsapp_share_message": null,
296
-
"share_by_email_body": null
298
+
"share_by_email_body": null,
299
+
"disable_rsvp_form": false
297
300
}
298
301
}
299
302
```
@@ -336,6 +339,7 @@ Field | Type | Description
336
339
bluesky_share_message | String | Custom message used when sharing the event on Bluesky
337
340
campaigner_contactable | Boolean | Whether members of the public can contact the event host via the public event page
338
341
description | String | Description of the event
342
+
disable_rsvp_form | Boolean | Prevents new RSVPs via the event page, by replacing the RSVP form with a message that RSVPs are closed
339
343
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.
340
344
extra_location_info | String | Additional non-address information about the event's location, e.g. "7th floor" or "Park in the back parking lot"
341
345
facebook_share_description | String | Custom description used when sharing the event on Facebook
0 commit comments