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.

Details

Related Gerrit Patches:
mediawiki/extensions/MachineVision : masterSupport batched image label voting

Event Timeline

Mholloway created this task.Sep 9 2019, 6:03 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 9 2019, 6:03 PM
Mholloway triaged this task as Normal priority.Sep 9 2019, 6:08 PM

(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

Mholloway closed this task as Resolved.Oct 10 2019, 7:02 PM