http upload
endpoint to pack many files into a car?
#2295
Labels
kind/enhancement
A net-new feature or improvement to an existing feature
need/triage
Needs initial labeling and prioritization
I've been working on an integration which uses the upload endpoint, mostly so that I can work with streams rather than buffer files in memory - they generally aren't large files but it would be more efficient to just pipe the data straight to the endpoint. I was hoping to be able to upload multiple files and get back a
car
just like theputFiles
method of the js SDK. Digging into the code I noticed this comment:packages/api/src/upload.js
How feasible would it be to have a version of the upload endpoint which does take a number of files and return a
car
which contains them? At the moment I'm getting back acarCid
which doesn't resolve on the gateway, and acid
which returns the first file, and my account shows that single file uploaded.That said, maybe my request is formatted slightly wrong for multiple files - seems fine but perhaps I'm missing something!
Thanks for any help!
The text was updated successfully, but these errors were encountered: