Logo
Functions

uploadFileFromUrlApiV1FilesUploadFromUrlPut

uploadFileFromUrlApiV1FilesUploadFromUrlPut<ThrowOnError>(options): RequestResult<File, HttpValidationError, ThrowOnError>

Defined in: packages/cloud/src/client/sdk.gen.ts:2454

Upload File From Url Upload a file to the project from a URL.

If name is ommitted in the request payload, the file name will be extracted from the response Content-Disposition header if available or otherwise it will be derived from the URL path.

If providing the name in the request payload, always suffix the file extension in the name if available.

Type Parameters

ThrowOnError

ThrowOnError extends boolean = false

Parameters

options

Options<UploadFileFromUrlApiV1FilesUploadFromUrlPutData, ThrowOnError>

Returns

RequestResult<File, HttpValidationError, ThrowOnError>