Authorizations
Path Parameters
The ID of the datasource
Body
application/json
the mimetype of the document being uploaded
Available options:
application/pdf
, image/jpg
, image/jpeg
, image/png
, application/pdf
, application/json
, image/jpg
, image/jpeg
, image/png
, text/csv
, text/plain
, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
, video/mp4
, audio/mp3
, audio/wav
, audio/ogg
, multipart/related
, message/rfc822
the name of the file being uploaded
Indicates whether the file is a binary upload or a signed link to the document.
Available options:
uri
, binary
, multipart
A signed URL to the file.
indicates if the file was uploaded in zero-retention mode
Response
Uploaded file successfully
the created cloudsquid file-id for the uploaded document