aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/appinfo
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-09-16 12:18:24 +0200
committerGitHub <noreply@github.com>2022-09-16 12:18:24 +0200
commit703dd64e7e0cf0e675ef40f4fec7375fc082b7d3 (patch)
treea18f22b1d4d73bcb6778e3310b64c328f5b7cda2 /apps/dashboard/appinfo
parenta716308e7b40e986d6ed23c317286913a0caa304 (diff)
parent3009e023249fc1ec68dae101c1abd4ca52c03125 (diff)
downloadnextcloud-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.php1
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'],
]
];