Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31608

Allow uploading of files through REST or GraphQL by providing an URI

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None

    Description

      Problem we need to fix

      When uploading very large files (GB and more), requiring that the file's content is added to the request (as base64 for REST, or multipart/form-data for GraphQL) is a problem. The file will be written to disk, and will use a lot of server disk space, or worse, be read into memory.

      Approach

      One way to improve that would be to add an input URI parameter to both REST and GraphQL. It would be used to copy the file to its destination while minimizing the amount of used resources.

      Story expectation

      large files can be uploaded using REST and GraphQL, by providing a remote URI, without specific tweaks to the server's settings (memory limit, max post size...)

      DAM notes

      A proper DAM integration would be an alternative to this: the DAM would take care of the heavy lifting, and we would only be storing a reference to the large item.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: