chore(dashboard): Add limit range to items v1 API

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/42056/head
jld3103 6 months ago
parent e1ecf798d9
commit 310832ade9
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3

@ -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