diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2021-03-22 16:56:24 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-06-15 21:34:00 +0200 |
commit | e15270cbb9a6aa483f8d85642c267cfd3dc6d25e (patch) | |
tree | 9eb108472f046b5b107ac39a18983003b3784232 /apps/dashboard/appinfo | |
parent | 0450e47f8dda26d19a0a252ddd5a117fddfa6885 (diff) | |
download | nextcloud-server-e15270cbb9a6aa483f8d85642c267cfd3dc6d25e.tar.gz nextcloud-server-e15270cbb9a6aa483f8d85642c267cfd3dc6d25e.zip |
implement dashboard API for clients, new WidgetItem class, new IAPIWidget interface
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'apps/dashboard/appinfo')
-rw-r--r-- | apps/dashboard/appinfo/routes.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dashboard/appinfo/routes.php b/apps/dashboard/appinfo/routes.php index 81b7d325a78..76317b8daa7 100644 --- a/apps/dashboard/appinfo/routes.php +++ b/apps/dashboard/appinfo/routes.php @@ -31,5 +31,8 @@ return [ ['name' => 'dashboard#updateStatuses', 'url' => '/statuses', 'verb' => 'POST'], ['name' => 'dashboard#getBackground', 'url' => '/background', 'verb' => 'GET'], ['name' => 'dashboard#setBackground', 'url' => '/background/{type}', 'verb' => 'POST'], + ], + 'ocs' => [ + ['name' => 'dashboardApi#getWidgetItems', 'url' => '/api/v1/widget-items', 'verb' => 'GET'], ] ]; |