Iskra API Reference
    Preparing search index...

    Interface UploadTarget

    What an upload route acts on, as passed to authorize.

    interface UploadTarget {
        filename?: string;
        key: string;
        size?: number;
        subfolder?: string;
        type?: string;
    }
    Index
    filename?: string

    upload, download and delete: the stored file name.

    key: string

    Storage key: <projectName>/<subfolder>/<filename> (the folder itself for list).

    size?: number

    upload: the file's size in bytes.

    subfolder?: string

    The subfolder, without empty or dot-only segments.

    type?: string

    upload: the Content-Type it is stored with (from its extension).