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

# CollectionsByResourcesByResourceId: Nextcloud itgen_ncl_collectionsbyresourcesbyresourceid_plural

`read only` `REST`

- Catalog: `Core`
- Schema: `Core`
- Label: itgen_ncl_collectionsbyresourcesbyresourceid_plural

Get collections by resource

Can only retrieve data.

## API Source

- Endpoint: `/ocs/v2.php/collaboration/resources/{resourceType}/{resourceId}`
- Operation: `get /ocs/v2.php/collaboration/resources/{resourceType}/{resourceId}`

## 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 |
|---|---|:---:|---|---|
| `resourceId` | `` | [x] |  | ID of the resource |
| `resourceType` | `` | [x] |  | Type of the resource |

## Table Columns

The columns of the table `CollectionsByResourcesByResourceId` 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 |
|---|---|---|:---:|---|---|
| `id` | `int64` | itgen_ncl_id | [ ] | filters on the platform, writable, `id` |  |
| `name` | `varchar2` | itgen_ncl_name | [ ] | filters on the platform, writable, `name` |  |

