ChangeAPI: add call to new actions REST API call
Change-Id: Ibc217c807e3b9a77a6fe29633121aa7c88e5ee29
This commit is contained in:
@@ -95,6 +95,13 @@ public class ChangeApi {
|
||||
return call(id, "detail");
|
||||
}
|
||||
|
||||
public static RestApi actions(int id, String revision) {
|
||||
if (revision == null || revision.equals("")) {
|
||||
revision = "current";
|
||||
}
|
||||
return call(id, revision, "actions");
|
||||
}
|
||||
|
||||
public static void edit(int id, AsyncCallback<EditInfo> cb) {
|
||||
edit(id).get(cb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user