Skip to content

support file url in $network.upload #74

Description

@maks

Currently $network.upload uses the mostly undocumented data property to upload a data uri to S3.
Instead, as discussed with @gliechtenstein on slack, it would be better to support using a local file url as the source of the data to be uploaded, which avoids having to hold the whole file being uploaded (which potentially can be very large) in app memory.
The syntax that will be used for the property is:

"data": {
  "file_url": "..."
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions