Added DELETE/POST endpoint for watched projects
Added DELETE and POST endpoints for removing, adding and updating watched projects. This is an effort towards migrating to PolyGerrit UI. Change-Id: I6203af9ed0fd6448fc1395512bc3ffdca93c5c18
This commit is contained in:
committed by
Edwin Kempin
parent
e56cf3af23
commit
bed6d98869
@@ -57,6 +57,9 @@ public class Module extends RestApiModule {
|
||||
child(ACCOUNT_KIND, "sshkeys").to(SshKeys.class);
|
||||
post(ACCOUNT_KIND, "sshkeys").to(AddSshKey.class);
|
||||
get(ACCOUNT_KIND, "watched.projects").to(GetWatchedProjects.class);
|
||||
post(ACCOUNT_KIND, "watched.projects").to(PostWatchedProjects.class);
|
||||
post(ACCOUNT_KIND, "watched.projects:delete")
|
||||
.to(DeleteWatchedProjects.class);
|
||||
|
||||
get(SSH_KEY_KIND).to(GetSshKey.class);
|
||||
delete(SSH_KEY_KIND).to(DeleteSshKey.class);
|
||||
|
||||
Reference in New Issue
Block a user