Open Sarvesh001112 opened 12 hours ago
Pagination Issue: When I make a request to:https://localhost:8083/api/v1/applications?limit=10I am receiving all responses, rather than the expected 10 results. Despite setting the limit parameter to 10, all items are being returned. In short - limit parameter not working
pagination 'may' require both limit
and continue
parameters. If continue
is missing and the API call includes more items than the limit, it might return all results, bypassing pagination. You should check the response headers for the continue token if the results are paginated.
But continue will come in response at end of json . If all response is coming how can we get continue. Continue will used in 2 time
I want to run api and want only 10 response at 1st time . Also what is the default max value of limit.
Is pagination support on this version - v2.12.3+6b9cd82, as I create 1134 application and pagination not working.
Checklist:
argocd version
.Describe the bug
To Reproduce
Expected behavior
Screenshots
Version
Logs
Dear Argo CD Support Team,
I am encountering two issues with the Argo CD API:
Pagination Issue: When I make a request to:https://localhost:8083/api/v1/applications?limit=10I am receiving all responses, rather than the expected 10 results. Despite setting the limit parameter to 10, all items are being returned. In short - limit parameter not working
Deployment Issue: When I query the API using:https://localhost:8083/api/v1/applications?name={application name}the deployments from two days ago are not appearing, while recent ones from 2023 are.
Could you please assist me in resolving these issues or provide guidance on proper pagination and deployment retrieval handling for these endpoints? Thank you for your support. Best regards, Sarvesh