Similar to this topic, I’m looking for the proper way to do pagination on the
/latest.json (Topics) endpoint, specifically knowing what’s the last page.
I’ve figured out that, when there are more results to be fetched, the response contains a
"more_topics_url": "/latest?page=X" for the next page. However, from my tests, seems like even when there are no more results, we get another page under this field.
Is there a proper way to know when we hit the last page?
Thanks in advance!