Project

General

Profile

Actions

Feature #956

closed

support for custom number of reports with the paginate function via json

Added by Corey Osman over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

My mobile app seems to take to long (5000 ms) to retrieve and process the first 20 reports via the json api call. I would like the ability to cut this time in half by only asking for 10 reports at a time instead of the default 20 that the paginate function uses. Although, adding the ability to customize the default value of reports to return at once would be a better option.

So I would like an api call something like this:

https://puppet/reports?search=eventful&numreports=10&format=json

Actions

Also available in: Atom PDF