Checklist:
argocd version.Describe the bug
Using /api/v1/applications endpoint to get 1 application does not behave as stated in the doc
To Reproduce
/api/v1/applications?name=APP_NAME will return all the applications/api/v1/applications/APP_NAME will return the actual application APP_NAME dataExpected behavior
I am expecting the API endpoint to behave as documented
Screenshots



Version
v1.5.4+36bade
Logs
Paste any relevant application logs here.
Hmm, can you elaborate on what the issue is?
Based on your screenshots, on /api/v1/applications?name=APP_NAME you are getting all the applications and on /api/v1/applications/APP_NAME you are getting only one as expected.
Hi @darshanime ,
Yes this is exactly what I am saying :smile:
Query as documented /api/v1/applications?name=APP_NAME will return all the applications
This is supposed to return me only 1 application, the one called APP_NAME but it returns all the applications
-> Not working as expected
The only way I found to get the data I am expecting is
Query /api/v1/applications/APP_NAME
-> Not documented
@alexmt might I please take a crack at this?
@aistein, sure!
Looking into it.
Fixed