#vitali-list

1 messages · Page 1 of 1 (latest)

wet reef
#

Hi! I don't think list endpoints show the total count.

#

Which list endpoint are you using? And what are you trying to do?

deep hedge
#

the payouts, i just want to paginate , but i also want to show the total results

#

or total number of pages

wet reef
deep hedge
#

that doesnt really help unfortunately, i need to show my customers what page they are currently on so they know that they have more results, how would you go about doing this?

wet reef
#

You could show the first N results to your page. And show your customers a "next page" button only if has_more is true. And if they click on that button, then use starting_after to list the next N results.

deep hedge
#

can i somehow trick the search endpoint? i saw it does give me back a count

wet reef
deep hedge
#

yeah it seems i have no choice