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

# Templates_OcsDataTemplates: Nextcloud itgen_ncl_templates_ocsdatatemplates_plural

`read only` `REST`

- Catalog: `Files`
- Schema: `Files`
- Label: itgen_ncl_templates_ocsdatatemplates_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_OcsDataTemplates` 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.actionLabel` |  |
| `app` | `varchar2` | itgen_ncl_app | [ ] | filters on the platform, writable, `::ancestor.app` |  |
| `basename` | `varchar2` | itgen_ncl_basename | [ ] | writable, `basename` |  |
| `etag` | `varchar2` | itgen_ncl_etag | [ ] | writable, `etag` |  |
| `extension` | `varchar2` | itgen_ncl_extension | [ ] | filters on the platform, writable, `::ancestor.extension` |  |
| `fileid` | `int64` | itgen_ncl_fileid | [ ] | writable, `fileid` |  |
| `filename` | `varchar2` | itgen_ncl_filename | [ ] | writable, `filename` |  |
| `hasPreview` | `char` | itgen_ncl_haspreview | [ ] | writable, `hasPreview` |  |
| `iconClass` | `varchar2` | itgen_ncl_iconclass | [ ] | filters on the platform, writable, `::ancestor.iconClass` |  |
| `iconSvgInline` | `varchar2` | itgen_ncl_iconsvginline | [ ] | filters on the platform, writable, `::ancestor.iconSvgInline` |  |
| `label` | `varchar2` | itgen_ncl_label | [ ] | filters on the platform, writable, `::ancestor.label` |  |
| `lastmod` | `int64` | itgen_ncl_lastmod | [ ] | writable, `lastmod` |  |
| `mime` | `varchar2` | itgen_ncl_mime | [ ] | writable, `mime` |  |
| `previewUrl` | `varchar2` | itgen_ncl_previewurl | [ ] | writable, `previewUrl` |  |
| `ratio` | `double` | itgen_ncl_ratio | [ ] | filters on the platform, writable, `::ancestor.ratio` |  |
| `templateId` | `varchar2` | itgen_ncl_templateid | [ ] | writable, `templateId` |  |
| `templateType` | `varchar2` | itgen_ncl_templatetype | [ ] | writable, `templateType` |  |
| `type` | `varchar2` | itgen_ncl_type | [ ] | writable, `type` |  |

