Open jvillalobos opened 6 years ago
It doesn't look like that URL is surfaced by anything in the API... it would be helpful to know what the URL show look like to create it. It seems like it's /${clientApp}/downloads/latest/${addon.slug}/addon-${addon.id}-latest.xpi
but I would definitely rather the API surface that link as it's the source of truth and the URL would be useful to other API consumers as well.
I've filed: https://github.com/mozilla/addons/issues/1768
@jvillalobos How important is fixing this in terms of allowing us to shut down the legacy site? Does the priority of https://github.com/mozilla/addons/issues/1768 need to be increased?
This isn't a blocker for shutting down the legacy site.
Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDFRNT-129
In the new front-end, we're pointing directly to the XPI file. For example, for this add-on, the Add to Firefox button points to:
https://addons.mozilla.org/firefox/downloads/file/807838/giftibly_gift_assistant-1.0.28-an+fx.xpi?src=dp-btn-primary
In the old front-end, the button points to:
https://addons.mozilla.org/firefox/downloads/latest/giftibly-gift-assistant/addon-895956-latest.xpi
This URL is useful for developers to share or use on their own websites, without having to update it every time they upload a new version.
┆Issue is synchronized with this Jira Task