In case anyone else is wondering, the get a single topic API supports pagination by using a page
parameter. It starts at 1 and returns a 404 when there are no more pages. I needed this to get all posts for a given topic, as the default return limit is 20 posts.
I believe this is not possible unless you use data-explorer to return a query result with the API.
It is possible by using the API I linked and then passing the page parameter. The API docs don’t mention that you can pass the page parameter, but it works exactly as you would expect. I made this post so others would know and wouldn’t have to defer to the data explorer.
1 Like
Oh, I misread your post. I thought you were looking for a way to return ALL posts from a topic at once.
Here’s a script example using the API pagination (not exactly the same query, as it returns posts from a user and each page contains 50 posts, not 20):
1 Like