Project

General

Profile

Feature #956

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

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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

Associated revisions

Revision 942d876d (diff)
Added by Corey Osman over 9 years ago

fixes #956 return custom number of reports

Signed-off-by: Corey Osman <>

History

#1 Updated by Ohad Levy over 9 years ago

  • Category set to API
  • Assignee set to Corey Osman
  • Target version set to 0.3

#2 Updated by Corey Osman over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF