Skip to content

Partial responses #46

Description

@chambbj

#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.).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions