Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mozilla Thunderbird add-ons (ATN) #6994

Open
rugk opened this issue Sep 7, 2021 · 1 comment
Open

Mozilla Thunderbird add-ons (ATN) #6994

rugk opened this issue Sep 7, 2021 · 1 comment

Comments

@rugk
Copy link

@rugk rugk commented Sep 7, 2021

📋 Description

A badge for users, rating etc. of a Thunderbird add-on/extension.

🔗 Data

The API is likely similar to how the AMO things are implemented:
https://github.com/badges/shields/tree/master/services/amo

🎤 Motivation
In the same way as for Firefox add-ons, I should be able to use it to promote my add-on/extension.

Similar to #4690 and the existing Mozilla Add-ons badges.

@chris48s
Copy link
Member

@chris48s chris48s commented Sep 7, 2021

Example thunderbird addon api call:
https://addons.thunderbird.net/api/v3/addons/addon/unicodify-text-transformer/
As you say, from first glance it looks like basically a special-case of AMO so probably Mozilla Addons and Thunderbird Addons could share all the same code just with a different base URL (not yet tested).

If so, maybe it would make sense to implement this as an optional registry param for mozilla addons. i.e: instead of making it a whole new service the URL for weekly downloads could be /amo/dw/<addonId>?registry=https%3A//addons.thunderbird.net/api/v3. Mabe this is a bit of YAGNI but then if there is another mozilla product using the same backend, it can just work..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants