Skip to content

support uploading file content to addons submission api #2497

Open

Description

@eviljeff

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).

Activity

  1. self-assigned this
    on Jun 20, 2023
  2. removed their assignment
    on Jul 5, 2023
  3. self-assigned this
    on Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions