Refactor #29909
closed
Support fetching all records in API
Added by Ondřej Pražák over 4 years ago.
Updated about 4 years ago.
Description
API currently returns only paginated response. If no pagination params are given, a default page size is used. The only way to get all records in one request is to use a per_page size big enough to contain all the records. We should be able to specify that we want all the records rather than using an arbitrary number.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7685 added
- Fixed in Releases 2.2.0 added
- Status changed from Ready For Testing to Closed
- Pull request https://github.com/theforeman/foreman/pull/7975 added
- Related to Bug #31554: GET "/api/v2/permissions" Is failing with 500 Internal Server Error added
- Related to Bug #32776: Host api request fails when thin=true and per_page=all added
- Related to Bug #31897: Headline api feature per_page=all doesn't work for all resources added
Also available in: Atom
PDF