diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-16 12:18:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 12:18:24 +0200 |
commit | 703dd64e7e0cf0e675ef40f4fec7375fc082b7d3 (patch) | |
tree | a18f22b1d4d73bcb6778e3310b64c328f5b7cda2 /apps/dashboard/appinfo | |
parent | a716308e7b40e986d6ed23c317286913a0caa304 (diff) | |
parent | 3009e023249fc1ec68dae101c1abd4ca52c03125 (diff) | |
download | nextcloud-server-703dd64e7e0cf0e675ef40f4fec7375fc082b7d3.tar.gz nextcloud-server-703dd64e7e0cf0e675ef40f4fec7375fc082b7d3.zip |
Merge pull request #33658 from nextcloud/dashboard-api-widgets
Extend dashboard api to allow listing of widgets
Diffstat (limited to 'apps/dashboard/appinfo')
-rw-r--r-- | apps/dashboard/appinfo/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dashboard/appinfo/routes.php b/apps/dashboard/appinfo/routes.php index 2d930b2240d..c6891837384 100644 --- a/apps/dashboard/appinfo/routes.php +++ b/apps/dashboard/appinfo/routes.php @@ -31,6 +31,7 @@ return [ ['name' => 'dashboard#updateStatuses', 'url' => '/statuses', 'verb' => 'POST'], ], 'ocs' => [ + ['name' => 'dashboardApi#getWidgets', 'url' => '/api/v1/widgets', 'verb' => 'GET'], ['name' => 'dashboardApi#getWidgetItems', 'url' => '/api/v1/widget-items', 'verb' => 'GET'], ] ]; |