diff options
author | Robin Appelman <robin@icewind.nl> | 2022-08-23 15:03:41 +0200 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-09-15 18:05:52 +0200 |
commit | 0e5944748df24fde54e34cb1fcc0f15fb0d734de (patch) | |
tree | 1db9950f0d21c4757947b6cb0ab1a920767b943c /apps/dashboard/appinfo | |
parent | ca747b91d4aa907b191119f080d213bfb5e60fd2 (diff) | |
download | nextcloud-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.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'], ] ]; |