Feature #956
support for custom number of reports with the paginate function via json
| Status: | Closed | Start: | 06/01/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % 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
fixes #956 return custom number of reports
Signed-off-by: Corey Osman <corey@logicminds.biz>
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
Applied in changeset 942d876d7c904f97a01dc08d37c26c07d9993054.
