-
Notifications
You must be signed in to change notification settings - Fork 145
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
Fix for - Internal Server Error When Using Offset >= Total Organizations and Limit = 0 in Organization Discovery GET API #680
base: master
Are you sure you want to change the base?
Conversation
Thank you for your contribution! Here, in this case the expected behavior is not to have any previous or next links when the limit = 0. There is no point of giving any previous/next result set accessing URL with offset is 0. We want to make this API behavior more or less similar to GET Therefore, for this case expected behavior should be:
Would you be able to fix in that way? |
Hi @AnuradhaSK
I have a question about the sample response above: Should the expected value for "totalResults" always be 0 when limit=0, or should it reflect the actual total results? I believe it should reflect the actual total results; could you please confirm? |
Hi @AnuradhaSK
The requested changes implemented and below are sample request and response examples after the modifications.
Please Review. |
Hi @AnuradhaSK just a gentle reminder to review the changes. |
Purpose
Goals
Related PRs