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)

Avenir
defect

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.
Priority: -- → P2
Obligatory mention of using device_types (should plan in conjunction with use in FxOS for addons).
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.
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)
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: nobody → ashort
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.