Page MenuHomePhabricator

API endpoint for patrolling an edit and related plumbing
Closed, ResolvedPublic


Add a new endpoint that will mark a particular revision as patrolled:

  • PATCH /api/tools/{tool_name}/revisions/{id}/patrolled/

All edits should start life in an unpatrolled state. Users with the Patrollers right should be able to toggle this to a patrolled state after review of the edit. This action should also emit an audit log event showing who marked the edit as patrolled. Revision output from the API should report the current patrolled state.

Event Timeline

bd808 created this task.
bd808 moved this task from Backlog to In Progress on the Toolhub board.

Change 698885 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[wikimedia/toolhub@main] api: Add toolinfo revision patrolling endpoint

Change 698885 merged by jenkins-bot:

[wikimedia/toolhub@main] api: Add toolinfo revision patrolling endpoint