Project

General

Profile

Actions

Support #20144

open

Make api pagination optional

Added by Dinar Valeev almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

by default foreman paginate API by entries_per_page setting, while having in API documentation "GET /api/compute_resources/:compute_resource_id/images " page
optional

paginate results

Validations:

Must be String

Made me think pagination is really optional.

IMO if result is to big for compute to be processed a program/user can request it paginated by specifying per_page/page. Otherwise API should return ALL results

Actions

Also available in: Atom PDF