Hey! Anyone maybe know how I would get the nextPageCursor from the page 28 for the cursor in the ROBLOX API? I want to get a full list of all datas from the audit log pages 1 → 28 (including 28). I mean the cursor which is in the picture above. Thank you!
1 Like
Are you just asking how to get the cursor in general? Paginated web APIs usually work by requesting the first page by sending the request without a cursor. The first response should give you a cursor, which you then feed into the next request to get the next page. As long as the next cursor exists in the response, there’s another page to be grabbed. If there’s not a cursor in the response, you’ve reached the last page.
By design, these cursors always change, so you can’t just grab a cursor for a specific page on demand. You have to scan through each page from the beginning.
3 Likes
Oh, I understand. Lemme see if this is going to work well.