Skip to content

[Enhancement]: Page by index #2460

@JerryNixon

Description

@JerryNixon

Proposal

Consider enabling paging by index only.

Why?

Most UI use simple paging, which is index paging.

Though this would not take advantage of our current cursor approach, it would be the simplest to implement.

Sample syntax

http://server/api/entity?$page=2

Configuration

This would not require any additional configuration change.

Other details

  1. Closely related to [Enhancement]: Pagination metadata #2459
  2. Is this zero-based? Yes.
  3. How to handle out of bounds? Just return an error.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions