Page MenuHomePhabricator

Create an "edit" endpoint to take a partial json with the 'review_status' attribute changed
Closed, ResolvedPublic

Description

This task depends on T289132: Update mismatches concept

Make a decision between PUT and PATCH

  • take into account the experience of Wikibase REST-API
  • take into a account that this is a very small change to the mismatch entry
  • only the decision field of a mismatch can be modified - chnages to any other property will lead to a validation error

Event Timeline

Silvan_WMDE renamed this task from Create an "edit" endpoint to take a partial json with the attribute changed to Create an "edit" endpoint to take a partial json with the 'decision' attribute changed.Aug 18 2021, 12:17 PM
guergana.tzatchkova renamed this task from Create an "edit" endpoint to take a partial json with the 'decision' attribute changed to Create an "edit" endpoint to take a partial json with the 'review_status' attribute changed.Aug 24 2021, 11:11 AM

The team has decided to do it with the PUT method because it is easier, less overhead and also doable with partial json input