mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 15:53:36 -04:00
enh(noid): reasonabley limit amount of possible dashboard widget items
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
3fa43a529b
commit
89094c76cf
1 changed files with 2 additions and 1 deletions
|
|
@ -127,7 +127,8 @@ class DashboardApiController extends OCSController {
|
|||
* Get the items for the widgets
|
||||
*
|
||||
* @param array<string, string> $sinceIds Array indexed by widget Ids, contains date/id from which we want the new items
|
||||
* @param int $limit Limit number of result items per widget
|
||||
* @param int $limit Limit number of result items per widget, not more than 30 are allowed
|
||||
* @psalm-param int<1, 30> $limit
|
||||
* @param string[] $widgets Limit results to specific widgets
|
||||
* @return DataResponse<Http::STATUS_OK, array<string, DashboardWidgetItems>, array{}>
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue