Skip to content
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

filter url query parameter does not support nested arrays. #5

Open
deardooley opened this issue May 11, 2018 · 0 comments
Open

filter url query parameter does not support nested arrays. #5

deardooley opened this issue May 11, 2018 · 0 comments

Comments

@deardooley
Copy link

Issue summary

Filtering responses does not support references to nested arrays. Nested objects seem to work fine.

What platform services are impacted?

  • [ *] ALL

To which tenant does this issue apply?

Community - https://api.agaveplatform.org

What version of the platform are you using?

You can get this information from the version field in every API response. The version in the response below is 2.2.6+

Steps to recreate the issue

  1. apps-list -V --filter='id,parameters.id' cloud-runner-0.1.0
  2. apps-list -V --filter='id,inputs.[].id' cloud-runner-0.1.0
  3. apps-list -V --filter='id,inputs.[].value.default' cloud-runner-0.1.0
  4. systems-list -V --filter='id,queues.[].name' data.agaveapi.co

Expected behavior

Standard json array notation could be supported or flattened syntax such as used in search queries should be used.More flexible approachs might be JMESPath, JSONPath, or soemthing like Google's approach.

Actual behavior

Any use of the described notation excludes that field from the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant