Type Alias File

File: {
    _links: {
        self: HateoasLink;
    };
    created: string;
    dpi: number | null;
    filename: string | null;
    hash: string | null;
    height: number | null;
    id: number;
    is_temporary: boolean;
    mime_type: string | null;
    preview_url: string | null;
    size: number;
    status: File.status;
    thumbnail_url: string | null;
    url: string;
    visible: boolean;
    width: number | null;
}

Information about the File

Type declaration

  • Readonly_links: {
        self: HateoasLink;
    }

    HATEOAS links

  • created: string

    File creation date

  • Readonlydpi: number | null

    Resolution DPI.
    Note: for vector files this may be indicated as only 72dpi, but it doesn't affect print quality since the vector files are resolution independent.

  • filename: string | null

    File name

  • Readonlyhash: string | null

    MD5 checksum of the file

  • Readonlyheight: number | null

    Height in pixels

  • Readonlyid: number

    File ID

  • Readonlyis_temporary: boolean

    Whether it is a temporary printfile.

  • Readonlymime_type: string | null

    MIME type of the file

  • Readonlypreview_url: string | null

    Medium preview image URL

  • Readonlysize: number

    Size in bytes

  • Readonlystatus: File.status

    File processing status

  • Readonlythumbnail_url: string | null

    Small thumbnail URL

  • url: string

    Source URL where the file was downloaded from.

  • visible: boolean

    Whether the file is shown in the Printfile Library.

  • Readonlywidth: number | null

    Width in pixels