Port "mark reviewed" to new JSON API

Defines /changes/*/revisions/*/files/* as the JSON endpoint for file
resources, escaping / as %2F as in /projects. Add an endpoint
/reviewed under this to mark/unmark files as reviewed with PUT/DELETE.

Change-Id: I1de9934b709bdad8014d1d30a25703d7fd55be88
This commit is contained in:
Dave Borowitz
2013-01-28 14:15:27 -08:00
parent ed786b3518
commit 2d99233a29
11 changed files with 224 additions and 24 deletions

View File

@@ -47,7 +47,7 @@ public class RevisionResource implements RestResource {
return ps;
}
Account.Id getAuthorId() {
Account.Id getAccountId() {
return ((IdentifiedUser) getControl().getCurrentUser()).getAccountId();
}
}