in api/payloads.py [0:0]
def listed_addon_details(uuid):
body = {
'categories': ['bookmarks', 'privacy-security'],
'slug': 'my_sluggish_slug_api',
'default_locale': 'en-US',
'name': {
'de': 'DE Name set at creation time',
'en-US': 'EN-US Name set at creation time',
'fr': 'FR Name set at creation time',
},
'summary': {
'de': 'Summary, in german',
'en-US': 'Summary, in en-US',
'fr': 'Summary, in french',
},
'description': {
'de': 'Description in german',
'en-US': 'Description in en-US',
'fr': 'Description in french',
},
'developer_comments': {
'de': 'Dev comments in german',
'en-US': 'Dev comments in en-US',
'fr': 'Dev comments in french',
},
'homepage': {
'de': 'https://addons.not-allizom.de',
'en-US': 'https://addons.not-allizom.org',
'fr': 'https://addons.not-allizom.fr',
},
'support_email': {
'de': 'lang-de@mail.com',
'en-US': 'lang-en-us@mail.com',
'fr': 'lang-fr@mail.com',
},
'is_experimental': True,
'requires_payment': True,
'contributions_url': 'https://www.patreon.com',
'tags': [
'anti malware',
'anti tracker',
'antivirus',
'chat',
'container',
'content blocker',
'coupon',
'dailymotion',
'dark mode',
],
'version': {
'upload': uuid,
'license': 'all-rights-reserved',
'release_notes': {
'de': 'DE Version notes added in API at addon creation time',
'en-US': 'EN-US Version notes added in API at addon creation time',
'fr': 'FR Version notes added in API at addon creation time',
},
'compatibility': {
'android': {'min': '121.0a1', 'max': '*'},
'firefox': {'min': '58.0', 'max': '100.*'},
},
},
}
return body