You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.
Sending a get/post request to the "GetRecentlyAxiesSold" operation always SAYS that it's returning 100 results but only ACTUALLY returns 20 results always starting from 0 no matter what the "size" and "from" variables are set to.
I wrote a test in python that I simplified to 43 lines to test if the API behaves as I expected it to from reading the documentation. I could be misunderstanding the documentation but if that is the case; then I have no idea what the "from" and "size" variables are supposed to do.
Here are my tests. Please let me know if I am misunderstanding something about how the API is supposed to work and this isn't an actual issue.
The issue was on my end (sort of) I needed to add "Content-Type": "application/json" to the headers and it started working almost how you would expect. The only reason why I say "sort of" is because the "total" is still 100.
Anyway I cleaned up the code a little so it looks a little different but here is my fix for anyone else having the same issue.
Sending a get/post request to the "GetRecentlyAxiesSold" operation always SAYS that it's returning 100 results but only ACTUALLY returns 20 results always starting from 0 no matter what the "size" and "from" variables are set to.
I wrote a test in python that I simplified to 43 lines to test if the API behaves as I expected it to from reading the documentation. I could be misunderstanding the documentation but if that is the case; then I have no idea what the "from" and "size" variables are supposed to do.
Here are my tests. Please let me know if I am misunderstanding something about how the API is supposed to work and this isn't an actual issue.
The text was updated successfully, but these errors were encountered: