Skip to content

Bug regarding pagination when listing rest resources #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

oOraph
Copy link

@oOraph oOraph commented Nov 5, 2021

#168

The Webex Teams api does not return all parameters when returning the next url link header. Consequently,
the object listing can be broken or worse, can succeed without returning objects expected by the provided filter.

Example: a bot needs to specify mentionedPeople=me to be allowed to list room messages. If there are several pages to be returned
then the listing will fail because the mentionedPeople query parameter won't be specified when fetching the next pages

Signed-off-by: xXraphXx xXraphXx@users.noreply.github.com

WebexCommunity#168

The Webex Teams api does not return all parameters when returning the next url link header. Consequently,
the object listing can be broken or worse, can succeed without returning objects expected by the provided filter.

Example: a bot needs to specify mentionedPeople=me to be allowed to list room messages. If there are several pages to be returned
then the listing will fail because the mentionedPeople query parameter won't be specified when fetching the next pages

Signed-off-by: xXraphXx <xXraphXx@users.noreply.github.com>
@oOraph oOraph changed the title Bug fix regarding pagination Bug regarding pagination when listing rest resources Nov 5, 2021
@Joezanini Joezanini merged commit 4f6e780 into WebexCommunity:master Feb 12, 2024
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.

2 participants