Closed
Bug 1205503
Opened 10 years ago
Closed 10 years ago
Add a TV filter to the Marketplace API
Categories
(Marketplace Graveyard :: API, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ddurst, Assigned: ashort)
References
Details
The Marketplace API has an optional device filter to filter the items in the response by compatibility with, for example, phones or tablets. We need to add "TV" filter support. This bug is to add that TV device filter support. Feature detection should remain working the same as it does today.
| Reporter | ||
Updated•10 years ago
|
Priority: -- → P2
| Reporter | ||
Comment 1•10 years ago
|
||
Obligatory mention of using device_types (should plan in conjunction with use in FxOS for addons).
Comment 2•10 years ago
|
||
We'll probably want to resurrect some of the form factor stuff that we never merged.
Specifically:
- Introduce "firefoxos+tv" and "firefoxos+mobile" device_type. Clients should therefore send dev=firefox, device=tv or device=mobile accordingly.
- Leave "firefoxos" as an alias for "firefoxos+mobile" for backwards-compatibility.
No model changes necessary, no big API changes either.
| Reporter | ||
Comment 3•10 years ago
|
||
Are you referring to https://github.com/mozilla/fireplace/pull/411?
Good call on the backwards-compatibility aliasing, that will be important.
Flags: needinfo?(mpillard)
Comment 4•10 years ago
|
||
Yes, and https://github.com/mozilla/zamboni/pull/1960
There's gotta be something to steal from those 2 pull requests (maybe not for this specific bug depending on how you want to separate the work).
Flags: needinfo?(mpillard)
| Assignee | ||
Comment 5•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ashort
| Assignee | ||
Comment 6•10 years ago
|
||
Search on TV api restricted to TV apps/sites: https://github.com/mozilla/zamboni/commit/58a5cceaa1e2cf8baf411ab23920c4ac92f32fb6
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•