Add support for field selection to (at least) result-set and job endpoints

RESOLVED WORKSFORME

Status

P4
normal
RESOLVED WORKSFORME
4 years ago
a year ago

People

(Reporter: mdoglio, Unassigned)

Tracking

Details

(Reporter)

Description

4 years ago
It would be great if a downstream application could specify which fields to retrieve from an endpoint.
At the moment everything is pretty much static: if we want a subset of the fields available we gotta either create a new endpoint or add further chaos to the query parameters extravaganza.
Ideally we would dynamically build the query based on a "fields" parameter. IIRC this is what the bugzilla rest api does.
Component: Treeherder → Treeherder: API
Priority: -- → P3
Priority: P3 → P4
This sounds like something Graphql should be handling perfectly at this point.  The data would be returned in a different format than our existing APIs, though.  But since we haven't had anyone chime in on this bug in 3 years, I think we can close it as worksforme and address it if it comes up again.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.