Expose Marketplace collection listing API for external use

RESOLVED WORKSFORME

Status

Marketplace
API
P5
enhancement
RESOLVED WORKSFORME
4 years ago
2 years ago

People

(Reporter: Harald, Unassigned)

Tracking

x86
Mac OS X
Points:
---

Details

(Reporter)

Description

4 years ago
As a carrier I want to create preloaded apps that list app collections that I curated in Marketplace.

As the /rocketfuel API is meant for internal consumption, the API should provide another API that allows read access to collections for external partners.
We actually use https://marketplace.firefox.com/api/v1/rocketfuel/collections/movistar-pe/?carrier=telefonica&lang=en-US&region=br from https://marketplace.firefox.com/collection/movistar-pe

Feel free to use that, unless someone has issues with that.

Comment 2

4 years ago
> Feel free to use that, unless someone has issues with that.

Nobody should be using /rocketfuel endpoints externally, since they change frequently and aren't guaranteed to be supported as we evolve collections. If partners have issues with an API we call stable, we need to fix it. We can't call the rocketfuel endpoints "stable" in any sense of the word.

In the long term, we should consider adding a friendlier, stable collections API, perhaps one (once we have a better idea of the content types that will exist in the marketplace and how they will be presented to the user) that separates CCs, FACs, and OSCs:

/api/v1/collections/cc/<id>
/api/v1/collections/fac/?region=&carrier=&category=
/api/v1/collections/osc/?region=&carrier=
...etc
(Reporter)

Comment 3

4 years ago
(In reply to Matt Basta [:basta] from comment #2)
> In the long term, we should consider adding a friendlier, stable collections
> API, perhaps one (once we have a better idea of the content types that will
> exist in the marketplace and how they will be presented to the user) that
> separates CCs, FACs, and OSCs:
> 
> /api/v1/collections/cc/<id>
> /api/v1/collections/fac/?region=&carrier=&category=
> /api/v1/collections/osc/?region=&carrier=
> ...etc

This bug will hopefully kicks that off on shorter term and at minimum covers the existing use case.
Keywords: productwanted

Comment 4

4 years ago
I'd say this is also blocked on us getting user-submitted collections and whatever happens with the feed.

Updated

4 years ago
Severity: normal → enhancement
Priority: -- → P5
Let's do this as part of Feed v2
Keywords: productwanted
Feed APIs are documented and not private. http://firefox-marketplace-api.readthedocs.org/en/latest/topics/feed.html

Of course, anything that can affect Marketplace homepage can change quickly, so it's not completely reliable, for instance we recently moved away from the feed on desktop to display games instead.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.