Support returning PaginationWithTotal from /times/worldrecord #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be very nice if /times/worldrecord supported returning the total items/pages in the response, particularly if a user ID specified.
/times always returns the total items/pages.
Some things this would help support:
For a given user...
...also can /maps/ return total pages? If I am given the total pages after making the first request, then I can make the rest of the requests I need at the same time. Otherwise, in order to load all the data I need, I have to wait for each page response and check if it's empty each time.
tl;dr: it would be very nice for most endpoints to return total pages/items
Yeah, all of them should show the full pagination like times does. Times has it since the existing internal API returned it but the others don't.