Open cergfix opened 2 years ago
Hi, sorry for the delay. We're using flow.js for chunked uploads, and you can follow the same request pattern to upload files as well.
Take a look at the following OpenAPI operations in your API playground:
registerUpload
- sets up an upload (upload_id
is your unique identifier and path
is full server-side path)registerUploadMetadata
- optionally provides custom fields for a future uploadcheckChunkUploaded
- tells you whether a chunk chunk_number
has already been uploaded for upload upload_id
(HTTP 200) or not (HTTP 204) - this allows you to resume failed uploadsuploadChunk
- parameters same as above, stores the chunk, chunk should be sent as a multipart/form-data field "file".finishUpload
- combines the received chunks and writes out the file onto storage
Hey! I'm looking for a way to push/sync/upload batches of files through the API to the Media Library.
Is this supported? Are there any examples on how to do it?