Manage default dashboard by PUT and DELETE
PUT with an id to /default will set the local-default property and commit this change to refs/meta/config. DELETE on /default will remove the local-default property. Change-Id: If804762df9fa11dcb3a7ceebc5867ace70afdb35
This commit is contained in:
@@ -36,5 +36,7 @@ public class Module extends RestApiModule {
|
||||
|
||||
child(PROJECT_KIND, "dashboards").to(DashboardsCollection.class);
|
||||
get(DASHBOARD_KIND).to(GetDashboard.class);
|
||||
put(DASHBOARD_KIND).to(SetDashboard.class);
|
||||
delete(DASHBOARD_KIND).to(DeleteDashboard.class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user