Closed
Bug 1478960
Opened 7 years ago
Closed 7 years ago
Having an API for getting just products and components name
Categories
(bugzilla.mozilla.org :: API, enhancement)
Tracking
()
RESOLVED
INVALID
People
(Reporter: xidorn, Unassigned)
Details
The current API for getting product information returns way too much stuff, and users don't really need that much information.
In my case, I really just want the name of products and components.
Maybe there can be an additional parameter to /rest/product make it return only part of the information.
Comment 1•7 years ago
|
||
| Reporter | ||
Comment 2•7 years ago
|
||
Oh, great, thanks! I didn't realized there is include_fields.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Comment 3•7 years ago
|
||
The dot in include_fields is the real secret :)
If you want to exclude Graveyard/inactive products, this might be better:
https://bugzilla.mozilla.org/rest/product?type=enterable&include_fields=name,components.name
You need to log in
before you can comment on or make changes to this bug.
Description
•