JustZack / audit-congress

A website collecting & displaying information about the activities of congress.
0 stars 0 forks source link

Add pagination for all API routes #66

Closed JustZack closed 6 months ago

JustZack commented 6 months ago

such that page,offset,pagesize can be specified for any API route (a function of the API vs specific routes)

And a total Vs. offset Vs. Page number has to be included in each response

Will need to add ORDER BY to pretty much every row order is predictable while using LIMIT and OFFSET for paging queries

Likely, implement with AuditCongressTable so that an offset in selections can be defined