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

needs a function to return the plantStats data which is filtered with any conditions. #45

Open
5 tasks
sacco221 opened this issue Jun 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sacco221
Copy link
Collaborator

sacco221 commented Jun 11, 2022

Currently, the server returns all data for the plant ID.
From a long perspective, the server should return the filtered data to save the bandwidth.

  • Determine what kind of filter should be used. (time range, number of the items)
  • Implement the function on plantStats controller/model
  • Test the behavior with Postman
  • Add route for the function (ex. /plantStats/:id/latest)
  • Check the behavior with the production Happa
@sacco221 sacco221 added the enhancement New feature or request label Jun 11, 2022
@sacco221 sacco221 self-assigned this Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant