Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common API Pattern - Paging #19

Open
TheTechArch opened this issue Sep 24, 2024 · 0 comments
Open

Common API Pattern - Paging #19

TheTechArch opened this issue Sep 24, 2024 · 0 comments
Labels
kind/architecture-decision A record describing an architecture decision

Comments

@TheTechArch
Copy link
Member

TheTechArch commented Sep 24, 2024

Status

Use the pattern introudced in Altinn Authorization for pagination

Features

  • Paginated object wraps all list that is returned on API
    • Contains built in link to next page
    • OpaqueID : Hides complexity of the id for the client

Decision

We need to land a common pattern for how paging on API works for Altinn APis across the products

Context

We dont have a common way to implement paginating

Consequences

What becomes easier or more difficult to do because of this change?

@TheTechArch TheTechArch added the kind/architecture-decision A record describing an architecture decision label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/architecture-decision A record describing an architecture decision
Projects
None yet
Development

No branches or pull requests

1 participant