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

# Templates_OcsDataTemplatesFields: Nextcloud itgen_ncl_templates_ocsdatatemplatesfields_plural

`read only` `REST`

- Catalog: `Files`
- Schema: `Files`
- Label: itgen_ncl_templates_ocsdatatemplatesfields_plural

List the available templates

Can only retrieve data.

## API Source

- Endpoint: `/ocs/v2.php/apps/files/api/v1/templates`
- Operation: `get /ocs/v2.php/apps/files/api/v1/templates`

## Performance Characteristics

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

The result can be cached on the client.

## Table Columns

The columns of the table `Templates_OcsDataTemplatesFields` 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 |
|---|---|---|:---:|---|---|
| `actionLabel` | `varchar2` | itgen_ncl_actionlabel | [ ] | filters on the platform, writable, `::ancestor.::ancestor.actionLabel` |  |
| `alias` | `varchar2` | itgen_ncl_alias | [ ] | writable, `alias` |  |
| `app` | `varchar2` | itgen_ncl_app | [ ] | filters on the platform, writable, `::ancestor.::ancestor.app` |  |
| `basename` | `varchar2` | itgen_ncl_basename | [ ] | writable, `::ancestor.basename` |  |
| `checked` | `char` | itgen_ncl_checked | [ ] | writable, `checked` |  |
| `content` | `varchar2` | itgen_ncl_content | [ ] | writable, `content` |  |
| `etag` | `varchar2` | itgen_ncl_etag | [ ] | writable, `::ancestor.etag` |  |
| `extension` | `varchar2` | itgen_ncl_extension | [ ] | filters on the platform, writable, `::ancestor.::ancestor.extension` |  |
| `fileid` | `int64` | itgen_ncl_fileid | [ ] | writable, `::ancestor.fileid` |  |
| `filename` | `varchar2` | itgen_ncl_filename | [ ] | writable, `::ancestor.filename` |  |
| `hasPreview` | `char` | itgen_ncl_haspreview | [ ] | writable, `::ancestor.hasPreview` |  |
| `iconClass` | `varchar2` | itgen_ncl_iconclass | [ ] | filters on the platform, writable, `::ancestor.::ancestor.iconClass` |  |
| `iconSvgInline` | `varchar2` | itgen_ncl_iconsvginline | [ ] | filters on the platform, writable, `::ancestor.::ancestor.iconSvgInline` |  |
| `id` | `int64` | itgen_ncl_id | [ ] | writable, `id` |  |
| `index` | `varchar2` | itgen_ncl_index | [ ] | writable, `index` |  |
| `label` | `varchar2` | itgen_ncl_label | [ ] | filters on the platform, writable, `::ancestor.::ancestor.label` |  |
| `lastmod` | `int64` | itgen_ncl_lastmod | [ ] | writable, `::ancestor.lastmod` |  |
| `mime` | `varchar2` | itgen_ncl_mime | [ ] | writable, `::ancestor.mime` |  |
| `previewUrl` | `varchar2` | itgen_ncl_previewurl | [ ] | writable, `::ancestor.previewUrl` |  |
| `ratio` | `double` | itgen_ncl_ratio | [ ] | filters on the platform, writable, `::ancestor.::ancestor.ratio` |  |
| `tag` | `varchar2` | itgen_ncl_tag | [ ] | writable, `tag` |  |
| `templateId` | `varchar2` | itgen_ncl_templateid | [ ] | writable, `::ancestor.templateId` |  |
| `templateType` | `varchar2` | itgen_ncl_templatetype | [ ] | writable, `::ancestor.templateType` |  |
| `type` | `varchar2` | itgen_ncl_type | [ ] | writable, `type` |  |
| `type_2` | `varchar2` | itgen_ncl_type_2 | [ ] | writable, `::ancestor.type` |  |

