The Bitbucket REST guide instructs clients to follow pagination links. A Bitbucket integration should not reconstruct an assumed next page from URL arithmetic.
Preserve filters and verify unique repository or commit identifiers during traversal. Stop when the response provides no continuation, not when a guessed page count is reached.