Closed ghost closed 2 years ago
What is the reason for this ticket being closed?
Incapability to understand the design of the API and using it, provide nothing to the conversation on top of existing one.
Is there the ability currently to limit the response to a subset of fields that we only need in our apps?
No
Then this ticket should be triaged on it's technical and application merit rather than hostility to the ticket creator.
Feature Request
Ability to specify which response model fields to prevent REST resource over-fetching via a query parameter or header
Use case
Third party developers request resources and use only some of the data returned thus discarding unneeded data fields wasting bandwidth, known as the over-fetching problem.
We would then be able to specify the needed fields with either a resource query parameter such as &fields=A,B,C or a header such as x-esi-fields-requested: A,B,C.
This would enable an efficient implementation (no over-fetching) of a REST interface wrapper solution such as proposed in https://github.com/esi/esi-issues/issues/1309
Authentication
Existing authentication is used
Example return
Full or a subset (requested fields) of the data model is returned.
Checklist
Check all boxes that apply to this issue: