-
Notifications
You must be signed in to change notification settings - Fork 4
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
Pagination not incrementing limit value for pds-deep-registry-archive #140
Comments
Wait a minute @jordanpadams, I thought it was to limit the number of items being returned, you know, like Even the documentation says Help! |
@nutjob4life I thought this was maybe a bug in pds-deep-archive but looks like this is a bug in the API |
@jordanpadams could be both 😱 |
😨 |
Okay @jordanpadams I'm digging deeper (appropriate for the deep archive) into this. First off, the documentation does clearly say that the And that's how the Registry version of the Deep Archive historically worked. Now suppose So I started playing with this URL:
and trying different values for Limit as an End IndexIf
The length of the Well, that jives with the documentation at least! So, let's try again, treating Limit as a CountTreating
The ❌ represents 500 Internal Server Error. Let's try a smaller
Does
Of course, if I do So for at least |
thanks @nutjob4life this is great info for an API bug |
@jordanpadams Nevermind; it looks like you've mentioned this in relation to another issue. I'll hold off for now. |
Okay, filed in registry-api. I recommend closing this issue for now. If registry-api changes behavior, then we'll have to revisit pagination here in deep-archive. |
👍 |
closing for now in lieu of NASA-PDS/registry-api#240 |
API hasn't changed stated behaviour, but is subject to a bugfix (and another one once I sort it out next week) so an update may be required for deep-archive (dunno - just wanted to flag it) |
Thanks @alexdunnjpl. Don't worry, I'm accustomed to Registry's API being about as stable as a stool with two legs 😝 |
🐛 Describe the bug
When executing for >1 page, the limit value does not appear to be increasing.
📜 To Reproduce
🕵️ Expected behavior
Limit value increases and we are able to paginate through all the data in the collections
📚 Version of Software Used
1.2.0-dev
🩺 Test Data / Additional context
See command-line execution above
The text was updated successfully, but these errors were encountered: