---
title: "Previews (Nextcloud)"
description: "itgen_ncl_previews_plural"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/nextcloud/FilesVersions.FilesVersions.Previews
original: https://documentation.invantive.eu/en/datamodels/nextcloud/FilesVersions.FilesVersions.Previews
updated: 2026-11-10T15:26:07Z
license: https://documentation.invantive.eu/en/
---

# Previews: Nextcloud itgen_ncl_previews_plural

`read only` `REST`

- Catalog: `FilesVersions`
- Schema: `FilesVersions`
- Label: itgen_ncl_previews_plural

Get the preview for a file version

Can only retrieve data.

## API Source

- Endpoint: `/index.php/apps/files_versions/preview`
- Operation: `get /index.php/apps/files_versions/preview`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 305 |
| Full scan rows per minute | 18,900 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `file` | `` | [ ] |  | Path of the file |
| `mimeFallback` | `` | [ ] |  | Whether to fallback to the mime icon if no preview is available |
| `version` | `` | [ ] |  | Version of the file to get the preview for |
| `x` | `` | [ ] |  | Width of the preview |
| `y` | `` | [ ] |  | Height of the preview |

## Table Columns

The columns of the table `Previews` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `DOCUMENT` | `blob` | itgen_ncl_document | [ ] | filters on the platform, writable, `::self` |  |

