ChangeAPI: add call to new actions REST API call

Change-Id: Ibc217c807e3b9a77a6fe29633121aa7c88e5ee29
This commit is contained in:
Stefan Beller
2015-02-09 16:09:35 -08:00
parent add7038b5e
commit 3b0b9c328f

View File

@@ -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);
}