everyday-as / pivity-issues

The GmodStore issue tracker
https://gmodstore.com
8 stars 0 forks source link

API v3 Pagination Total Count #1178

Open JoshPiper opened 2 years ago

JoshPiper commented 2 years ago

Feature

Having a total or count field for listX requests in the v3 API would help for purposes of pagination. The current cursor based pagination works well for infinite scrolling, but requires that every page of data is requested before a total can be given, even if only one page is required.

Additional Information

No response

TheodoorP commented 2 years ago

What would your use case for this be?

JoshPiper commented 2 years ago

What would your use case for this be?

As an example, going through addon versions, to get the total number of pages required, the cursor would need to be fully expended before a final count could be given.

So any paged pagination, as opposed to infinite scroll pagination, essentially.