aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-08-23 15:03:41 +0200
committerJulien Veyssier <eneiluj@posteo.net>2022-09-15 18:05:52 +0200
commit0e5944748df24fde54e34cb1fcc0f15fb0d734de (patch)
tree1db9950f0d21c4757947b6cb0ab1a920767b943c /apps/dashboard/appinfo
parentca747b91d4aa907b191119f080d213bfb5e60fd2 (diff)
downloadnextcloud-server-0e5944748df24fde54e34cb1fcc0f15fb0d734de.tar.gz
nextcloud-server-0e5944748df24fde54e34cb1fcc0f15fb0d734de.zip
add dashboard api to list widgets
Signed-off-by: Robin Appelman <robin@icewind.nl>
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'],
]
];