WebExtensions/Applications: Difference between revisions

Line 82: Line 82:


To fix this, we also propose changing the AMO signing API from
To fix this, we also propose changing the AMO signing API from
'''PUT /api/v3/addons/[string:addon-id]/versions/[string:version]/'''
'''PUT /api/v3/addons/[string:addon-id]/versions/[string:version]/'''
to
to
'''PUT /api/v3/addons/'''
'''PUT /api/v3/addons/'''
and having the server pull the addon-id and version out of the submitted XPI (or generate them if they're missing).
and having the server pull the addon-id and version out of the submitted XPI (or generate them if they're missing).
(We should also return that data as fields in the response, so that the calling script would know what they were going to be.)
(We should also return that data as fields in the response, so that the calling script would know what they were going to be.)
Confirmed users
1,158

edits