Skip to content

Conversation

@potrebic
Copy link
Contributor

The Box V2 API docs are inconsistent on this. However it is stated on the paging docs(1):

If this value is null or an empty string there are no more results to fetch.

So with this change an empty string next_marker will end paging.

(1): https://developer.box.com/guides/api-calls/pagination/marker-based/#collections

Issue Link 🔗

#892

The Box V2 API docs are inconsistent on this. However it is stated on
the paging docs(1):
> If this value is null or an empty string there are no more results to fetch.

So with this change empty string next_markers will end paging.

(1): https://developer.box.com/guides/api-calls/pagination/marker-based/#collections
@potrebic potrebic requested a review from jlawton March 31, 2023 12:19
@coveralls
Copy link

Coverage Status

Coverage: 88.607% (+0.003%) from 88.604% when pulling 7293c4c on potrebic:ppotrebic/empty-marker into ffff13c on box:main.

Copy link
Contributor

@arjankowski arjankowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@arjankowski arjankowski merged commit 49c17de into box:main Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants