Project

General

Profile

Refactor #29909

Support fetching all records in API

Added by Ondřej Pražák 6 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

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.

Associated revisions

Revision 1831e568 (diff)
Added by Ondřej Pražák 6 months ago

Fixes #29909 - Add option to fetch all records from API

History

#1 Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7685 added

#2 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 2.2.0 added

#3 Updated by Ondřej Pražák 6 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 4 months ago

  • Category set to API

#5 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7975 added

Also available in: Atom PDF