GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
590 stars 91 forks source link

Add pagination support to large endpoints #4810

Open btylerburton opened 1 month ago

btylerburton commented 1 month ago

User Story

In order to ensure adequate application performance, datagovteam wants to configure support for pagination on large API endpoints.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

Background

Flask-SQLAlchemy supports pagination out of the box. More here: https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-ix-pagination

Security Considerations (required)

None

Sketch

jbrown-xentity commented 1 month ago

Plan to use server side rendering, but possible to use client side in organization or harvest source searching.