wavy / wavyfm-docs

wavy.fm developer documentation
https://wavy.fm/developers
Other
7 stars 1 forks source link

Pagination format #14

Open aramperes opened 3 years ago

aramperes commented 3 years ago

Use-Case Description

Need to determine a standard way to do pagination that fits most use-cases. For example:

Semantics

I'm thinking page numbers is the best way forward, with standard pagination fields in responses (total_pages, has_next, has_previous, total_results, page_size, etc.). Offset-based pagination (offset and limit) might be better for recent tracks.