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

feat: Add http api filter ability. (filter by json path expression) #1241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HessianZ
Copy link

This PR add a feature that can make the HTTP API "data.json" to filter by JSON path expression to reduce response content size.

e.g.

  1. Filter all Temperatures. $..[?(@.Type == 'Temperature']
  2. Return specified element $.Children[0].Children[0]
  3. Complex filter with logical operators $..[?(@.Text == 'CPU Total' || @.Text == 'Memory' || @.Text == 'GPU Core')]

2024-01-17

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

Successfully merging this pull request may close these issues.

None yet

1 participant