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

Partial responses #46

Open
chambbj opened this issue Dec 5, 2018 · 0 comments
Open

Partial responses #46

chambbj opened this issue Dec 5, 2018 · 0 comments

Comments

@chambbj
Copy link
Member

chambbj commented Dec 5, 2018

#32 greatly improved response times. Another possible approach would be to enable partial responses. For example,

/aois?fields=name,pk

would only return name and pk of all of my AOIs. On the backend, GRiD will know that intersections do not need to be computed, that exports do not need to be returned, etc. I get only what I need, and GRiD computes only what is necessary to give it to me.

This should be fairly generic, supporting any of the possible fields, and applies to multiple endpoints (aois, exports, products, etc.).

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

No branches or pull requests

1 participant