Merge pull request #42056 from nextcloud/chore/dashboard/limit-range-items-v1-api

chore(dashboard): Add limit range to items v1 API
pull/42096/head
Joas Schilling 6 months ago committed by GitHub
commit 4a9f99809c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -101,6 +101,7 @@ class DashboardApiController extends OCSController {
*
* @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
* @psalm-param int<1, 30> $limit
* @param string[] $widgets Limit results to specific widgets
* @return DataResponse<Http::STATUS_OK, array<string, DashboardWidgetItem[]>, array{}>
*

Loading…
Cancel
Save