invantive documentation
Invantive Support ForumsLog In / Sign Up

PreviewByFileIds: Nextcloud itgen_ncl_previewbyfileids_plural

read only REST

  • Catalog: Core
  • Schema: Core
  • Label: itgen_ncl_previewbyfileids_plural

Get a preview by file ID

Can only retrieve data.

API Source

  • Endpoint: /index.php/core/preview
  • Operation: get /index.php/core/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
a `` Preserve the aspect ratio
fileId `` ID of the file
forceIcon `` Force returning an icon
mimeFallback `` Whether to fallback to the mime icon if no preview is available
mode `` How to crop the image (Values: fill, cover)
x `` Width of the preview. A width of -1 will use the original image width.
y `` Height of the preview. A height of -1 will use the original image height.

Table Columns

The columns of the table PreviewByFileIds 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