You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://addons-server.readthedocs.io/en/latest/topics/api/addons.html supports some fields which are set or updated by uploading a file, as multipart-formdata. The addon icon, version source, and preview images are all file uploads - they are all also sent as subsequent PATCH requests* because JSON and form data encoding can't be combined.
*a general update/edit function for addons/versions (i.e. without uploading a new xpi) would also be useful, but is a slightly different ask, so would be a separate issue (it would however share a lot of code).
The text was updated successfully, but these errors were encountered:
https://addons-server.readthedocs.io/en/latest/topics/api/addons.html supports some fields which are set or updated by uploading a file, as multipart-formdata. The addon
icon
, versionsource
, and preview images are all file uploads - they are all also sent as subsequentPATCH
requests* because JSON and form data encoding can't be combined.*a general update/edit function for addons/versions (i.e. without uploading a new xpi) would also be useful, but is a slightly different ask, so would be a separate issue (it would however share a lot of code).
The text was updated successfully, but these errors were encountered: