Page MenuHomePhabricator

Update the reviewimagelabels API to allow batched vote submission
Closed, ResolvedPublic

Description

Currently the reviewimagelabels API only accepts a single vote on a label per request. It should be updated to accept a batch of votes in a single request, since the pattern on the front end will be for all labels for an image to be voted on at once.

See the ReadingLists list management API modules for implementation inspiration.

Event Timeline

(I'm cookie-licking this since I have some fairly specific ideas about how the front and back ends should work together for this.)

Change 538297 had a related patch set uploaded (by Mholloway; owner: Michael Holloway):
[mediawiki/extensions/MachineVision@master] Support batched image label voting

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

Change 538297 merged by jenkins-bot:
[mediawiki/extensions/MachineVision@master] Support batched image label voting

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