activities

Update Activity

Update activity (owner only).

── Sub-chapter 1 (May 2026, Activity Edit Parity) ───────────────────── No more silent ignores. If the request body contains keys outside ALLOWED_EDIT_FIELDS, we return 400 with a structured response so the frontend can highlight the specific rejected fields rather than show a generic toast that hides the bug.

Two layers of rejection are now made visible:

  1. Pydantic strips fields not in ActivityUpdate before this handler runs. To catch those, we read the raw JSON body BEFORE Pydantic parsing and compare to the dumped result.
  2. ALLOWED_EDIT_FIELDS gates fields that ActivityUpdate accepts but the PUT handler refuses to write. These were previously skipped silently — now they're surfaced too.

Sub-chapter 2 expands ALLOWED_EDIT_FIELDS to fix the actual silent drops (category, contact_, ticketing_, etc.). Sub-chapter 1 just makes the silence stop.

put/api/activities/{activity_id}

Request

  • Base URL: https://api.activitia.net (the document declares no server; this is the origin it was published from)
  • URL: https://api.activitia.net/api/activities/{activity_id}
  • Auth: none declared

Path parameters

activity_idstring required

Headers

authorizationstring

Request body

is_draftboolean nullable
titlestring nullable
descriptionstring nullable
cover_imagestring nullable
poster_imagestring nullable
categorystring nullable
date_timestring date-time nullable
end_datestring date-time nullable
time_fromstring nullable
time_tostring nullable
is_recurringboolean nullable
is_onlineboolean nullable
venue_namestring nullable
addressstring nullable
citystring nullable
countrystring nullable
latitudenumber nullable
longitudenumber nullable
max_participantsinteger nullable
xp_min_levelinteger nullable
min_required_attendeesinteger nullable
costnumber nullable
currencystring nullable
rally_thresholdinteger nullable
reach_radiusinteger nullable
age_ratingstring nullable
chat_enabledboolean nullable
chat_visibilitystring nullable
moderation_modestring nullable
visibilitystring nullable
statusstring nullable
access_modestring nullable
activity_kindstring nullable
activity_subkindstring nullable
activity_detailsobject nullable
is_programme_parentboolean nullable
is_programme_stopboolean nullable
energy_levelstring nullable
crowd_typestring nullable
environmentstring nullable
vibe_primarystring nullable
virtual_optionboolean nullable
contact_phonestring nullable
contact_emailstring nullable
contact_websitestring nullable
ticket_price_notesstring nullable
ticket_contactstring nullable
physical_ticket_outletstring nullable
ticketing_modestring nullable
has_ticketingboolean nullable
has_external_ticketingboolean nullable
external_ticket_urlstring nullable
ticket_urlstring nullable
ticket_sourcestring nullable
booking_urlstring nullable
ticketing_upgrade_pendingboolean nullable
event_auth_acceptedboolean nullable
event_auth_timestampstring nullable
find_companyboolean nullable
registration_urlstring nullable
registration_labelstring nullable
registration_linkstring nullable
external_registration_providerstring nullable
external_registration_requiredboolean nullable
registration_deadlinestring date-time nullable
registration_notesstring nullable
has_prizesboolean nullable
posted_on_behalfboolean nullable
behalf_namestring nullable
behalf_org_namestring nullable
behalf_contactstring nullable
behalf_websitestring nullable
location_statusstring nullable
location_needs_reviewboolean nullable
location_confidencenumber nullable
location_sourcestring nullable
location_review_reasonstring nullable
location_modestring nullable
online_platformstring nullable
online_urlstring nullable
online_access_instructionsstring nullable
menu_itemsobject[] nullable
dine_in_availableboolean nullable
takeaway_availableboolean nullable
delivery_availableboolean nullable
group_booking_availableboolean nullable
catering_availableboolean nullable
why_attendstring nullable
highlightsstring[] nullable
key_statsobject[] nullable
before_you_go_itemsobject[] nullable
dress_codestring nullable
arrival_notesstring nullable
looking_for_companyboolean nullable
is_undergroundboolean nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.