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

# TeamsByProviderId_OcsDataTeamsResources: Nextcloud itgen_ncl_teamsbyproviderid_ocsdatateamsresources_plural

`read only` `REST`

- Catalog: `Core`
- Schema: `Core`
- Label: itgen_ncl_teamsbyproviderid_ocsdatateamsresources_plural

Get all teams of a resource

Can only retrieve data.

## API Source

- Endpoint: `/ocs/v2.php/teams/resources/{providerId}/{resourceId}`
- Operation: `get /ocs/v2.php/teams/resources/{providerId}/{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 |
|---|---|:---:|---|---|
| `providerId` | `` | [x] |  | Identifier of the provider (e.g. deck, talk, collectives) |
| `resourceId` | `` | [x] |  | Unique id of the resource to list teams for (e.g. deck board id) |

## Table Columns

The columns of the table `TeamsByProviderId_OcsDataTeamsResources` 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 |
|---|---|---|:---:|---|---|
| `displayName` | `varchar2` | itgen_ncl_displayname | [ ] | filters on the platform, writable, `::ancestor.displayName` |  |
| `iconEmoji` | `varchar2` | itgen_ncl_iconemoji | [ ] | writable, `iconEmoji` |  |
| `iconSvg` | `varchar2` | itgen_ncl_iconsvg | [ ] | writable, `iconSvg` |  |
| `iconURL` | `varchar2` | itgen_ncl_iconurl | [ ] | writable, `iconURL` |  |
| `id` | `varchar2` | itgen_ncl_id | [ ] | writable, `id` |  |
| `label` | `varchar2` | itgen_ncl_label | [ ] | writable, `label` |  |
| `link` | `varchar2` | itgen_ncl_link | [ ] | filters on the platform, writable, `::ancestor.link` |  |
| `provider_icon` | `varchar2` | itgen_ncl_provider_icon | [ ] | writable, `provider.icon` |  |
| `provider_id` | `varchar2` | itgen_ncl_provider_id | [ ] | writable, `provider.id` |  |
| `provider_name` | `varchar2` | itgen_ncl_provider_name | [ ] | writable, `provider.name` |  |
| `teamId` | `varchar2` | itgen_ncl_teamid | [ ] | filters on the platform, writable, `::ancestor.teamId` |  |
| `url` | `varchar2` | itgen_ncl_url | [ ] | writable, `url` |  |

