The GraphQL spec allows for multi-part data, which lets us implement file uploads directly within GraphQL.
Currently, when a user wants to create an Image or Video, they must upload it to another website and then reference it via it's URL. Users should be able to upload content directly to our API without this extra step, both for security and ease-of-use reasons.
The GraphQL spec allows for multi-part data, which lets us implement file uploads directly within GraphQL.
Currently, when a user wants to create an
Image
orVideo
, they must upload it to another website and then reference it via it's URL. Users should be able to upload content directly to our API without this extra step, both for security and ease-of-use reasons.We'd probably want to use an object storage container, e.g. https://github.com/seaweedfs/seaweedfs.
More planning needs to be done for this.
This is carried over from rpitv/glimpse-api#53