Page MenuHomePhabricator

Create a web endpoint to update a batch of mismatches
Closed, ResolvedPublic

Description

Create a web endpoint that receives mismatches and updates them in the database.

Notes:

  • The payload is expected to be an array of full mismatch data, including the updated review_status. we have convened with @guergana.tzatchkova that it is not necessary to send the complete mismatch data, we are sending the decisions object instead.
  • We probably can't re-use the existing single-mismatch MismatchPutRequest, but we can create new batch validation rules.
  • The endpoint should respond with a redirect back to the results page (which already picks the results from the db to display them on the page)
  • Add a feature test for the new route

Event Timeline

Silvan_WMDE subscribed.

re-assigning for review and possible last changes