Member Junction
    Preparing search index...

    Type Alias CreatePreAuthUploadUrlPayload

    Represents the payload returned by the CreatePreAuthUploadUrl method. This type contains the necessary information for uploading a file to a storage provider.

    type CreatePreAuthUploadUrlPayload = {
        HttpHeaders?: Record<string, string>;
        HttpMethod?: "PUT" | "POST";
        ProviderKey?: string;
        UploadUrl: string;
    }
    Index

    Properties

    HttpHeaders?: Record<string, string>
    HttpMethod?: "PUT" | "POST"
    ProviderKey?: string

    Optional. Some storage providers assign their own unique key to the object that should be used for future operations instead of the original object name

    UploadUrl: string

    The pre-authenticated URL to which the file should be uploaded