Feature #956

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

Added by Corey Osman 12 months ago. Updated 12 months ago.

Status:Closed Start:06/01/2011
Priority:Normal Due date:
Assigned to:Corey Osman % Done:

100%

Category:API
Target version:0.3
Backlog:No Difficulity:
Votes: 0

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 942d876d7c904f97a01dc08d37c26c07d9993054
Added by Corey Osman 12 months ago

fixes #956 return custom number of reports

Signed-off-by: Corey Osman <>

History

Updated by Ohad Levy 12 months ago

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

Updated by Corey Osman 12 months ago

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

Also available in: Atom PDF