Page MenuHomePhabricator

API - Edit Event Registration
Closed, ResolvedPublic

Description

As a Developer I want to create the Edit Event Registration API, so an event registration can be edited on the database.

Acceptance Criteria:

Update the event registration data into the database
Fields Validation
Handle organizer permissions structure (Just allowed organizers can edit it, creator for V0)
Unit Tests
Add API documentation, on https://www.mediawiki.org/wiki/Extension:CampaignEvents/Api

Event Timeline

ldelench_wmf subscribed.

We won't estimate this because we estimated all subtasks

Change 774866 had a related patch set uploaded (by Cmelo; author: Cmelo):

[mediawiki/extensions/CampaignEvents@master] Edit event registration API and special page

https://gerrit.wikimedia.org/r/774866

Change 774866 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Edit event registration API and special page

https://gerrit.wikimedia.org/r/774866

ifried subscribed.

There is nothing user-facing to test, so I'm marking this as Done.

Of note while going through T305708 : in the API for the Edit Event Registration endpoint, type of event is not used in V0 but is a key that has the value of generic when the event is created. So for this ticket, the only option for type in V0 is keeping type: generic - it can not yet be edited.