Libraries v5.0.0
    Preparing search index...

    Interface UploadConfiguration

    Upload metadata shared by the server, typed client, and OpenAPI generator.

    interface UploadConfiguration {
        allowedMimeTypes?: string[];
        maxFieldCount?: number;
        maxFieldNameSize?: number;
        maxFieldSize?: number;
        maxFileCount?: number;
        maxFileSize?: number;
        maxPartCount?: number;
        schema?: UploadSchema;
    }

    Hierarchy (View Summary)

    Index
    allowedMimeTypes?: string[]

    Allowed MIME types or patterns (e.g. 'image/*', 'application/pdf'). When not set, all MIME types are accepted.

    maxFieldCount?: number

    Maximum text fields per request. Default: 100.

    maxFieldNameSize?: number

    Maximum UTF-8 bytes per field name. Default: 100.

    maxFieldSize?: number

    Maximum bytes per text field. Default: 1 MiB.

    maxFileCount?: number

    Maximum number of files allowed in a single request.

    10
    
    maxFileSize?: number

    Maximum allowed file size per uploaded file in bytes.

    10_485_760 (10 MB)
    
    maxPartCount?: number

    Maximum parts. Default: maxFileCount + maxFieldCount.

    schema?: UploadSchema