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

# SharesById: Nextcloud itgen_ncl_sharesbyid_plural

`read only` `REST`

- Catalog: `FilesSharing`
- Schema: `FilesSharing`
- Label: itgen_ncl_sharesbyid_plural

Get a specific share by id

Can only retrieve data.

## API Source

- Endpoint: `/ocs/v2.php/apps/files_sharing/api/v1/shares/{id}`
- Operation: `get /ocs/v2.php/apps/files_sharing/api/v1/shares/{id}`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 326 |
| Full scan rows per minute | 368 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `id` | `` | [x] |  | ID of the share |
| `include_tags` | `` | [ ] |  | Include tags in the share |

## Table Columns

The columns of the table `SharesById` 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 |
|---|---|---|:---:|---|---|
| `attributes` | `varchar2` | itgen_ncl_attributes | [ ] | filters on the platform, writable, `attributes` |  |
| `can_delete` | `char` | itgen_ncl_can_delete | [ ] | filters on the platform, writable, `can_delete` |  |
| `can_edit` | `char` | itgen_ncl_can_edit | [ ] | filters on the platform, writable, `can_edit` |  |
| `displayname_file_owner` | `varchar2` | itgen_ncl_displayname_file_owner | [ ] | filters on the platform, writable, `displayname_file_owner` |  |
| `displayname_owner` | `varchar2` | itgen_ncl_displayname_owner | [ ] | filters on the platform, writable, `displayname_owner` |  |
| `expiration` | `varchar2` | itgen_ncl_expiration | [ ] | filters on the platform, writable, `expiration` |  |
| `file_parent` | `int64` | itgen_ncl_file_parent | [ ] | filters on the platform, writable, `file_parent` |  |
| `file_source` | `int64` | itgen_ncl_file_source | [ ] | filters on the platform, writable, `file_source` |  |
| `file_target` | `varchar2` | itgen_ncl_file_target | [ ] | filters on the platform, writable, `file_target` |  |
| `has_preview` | `char` | itgen_ncl_has_preview | [ ] | filters on the platform, writable, `has_preview` |  |
| `hide_download` | `int64` | itgen_ncl_hide_download | [ ] | filters on the platform, writable, `hide_download` |  |
| `id` | `varchar2` | itgen_ncl_id | [ ] | filters on the platform, writable, `id` |  |
| `is_mount_root` | `char` | itgen_ncl_is_mount_root | [ ] | filters on the platform, writable, `is-mount-root` |  |
| `is_trusted_server` | `char` | itgen_ncl_is_trusted_server | [ ] | filters on the platform, writable, `is_trusted_server` |  |
| `item_mtime` | `int64` | itgen_ncl_item_mtime | [ ] | filters on the platform, writable, `item_mtime` |  |
| `item_permissions` | `int64` | itgen_ncl_item_permissions | [ ] | filters on the platform, writable, `item_permissions` |  |
| `item_source` | `int64` | itgen_ncl_item_source | [ ] | filters on the platform, writable, `item_source` |  |
| `item_type` | `varchar2` | itgen_ncl_item_type | [ ] | filters on the platform, writable, `item_type` |  |
| `label` | `varchar2` | itgen_ncl_label | [ ] | filters on the platform, writable, `label` |  |
| `mail_send` | `int64` | itgen_ncl_mail_send | [ ] | filters on the platform, writable, `mail_send` |  |
| `mimetype` | `varchar2` | itgen_ncl_mimetype | [ ] | filters on the platform, writable, `mimetype` |  |
| `mount_type` | `varchar2` | itgen_ncl_mount_type | [ ] | filters on the platform, writable, `mount-type` |  |
| `note` | `varchar2` | itgen_ncl_note | [ ] | filters on the platform, writable, `note` |  |
| `password` | `varchar2` | itgen_ncl_password | [ ] | filters on the platform, writable, `password` |  |
| `password_expiration_time` | `varchar2` | itgen_ncl_password_expiration_time | [ ] | filters on the platform, writable, `password_expiration_time` |  |
| `path` | `varchar2` | itgen_ncl_path | [ ] | filters on the platform, writable, `path` |  |
| `permissions` | `int64` | itgen_ncl_permissions | [ ] | filters on the platform, writable, `permissions` |  |
| `send_password_by_talk` | `char` | itgen_ncl_send_password_by_talk | [ ] | filters on the platform, writable, `send_password_by_talk` |  |
| `share_type` | `int64` | itgen_ncl_share_type | [ ] | filters on the platform, writable, `share_type` |  |
| `share_with` | `varchar2` | itgen_ncl_share_with | [ ] | filters on the platform, writable, `share_with` |  |
| `share_with_avatar` | `varchar2` | itgen_ncl_share_with_avatar | [ ] | filters on the platform, writable, `share_with_avatar` |  |
| `share_with_displayname` | `varchar2` | itgen_ncl_share_with_displayname | [ ] | filters on the platform, writable, `share_with_displayname` |  |
| `share_with_displayname_unique` | `varchar2` | itgen_ncl_share_with_displayname_unique | [ ] | filters on the platform, writable, `share_with_displayname_unique` |  |
| `share_with_link` | `varchar2` | itgen_ncl_share_with_link | [ ] | filters on the platform, writable, `share_with_link` |  |
| `status_clearAt` | `int64` | itgen_ncl_status_clearat | [ ] | filters on the platform, writable, `status.clearAt` |  |
| `status_icon` | `varchar2` | itgen_ncl_status_icon | [ ] | filters on the platform, writable, `status.icon` |  |
| `status_message` | `varchar2` | itgen_ncl_status_message | [ ] | filters on the platform, writable, `status.message` |  |
| `status_status` | `varchar2` | itgen_ncl_status_status | [ ] | filters on the platform, writable, `status.status` |  |
| `stime` | `int64` | itgen_ncl_stime | [ ] | filters on the platform, writable, `stime` |  |
| `storage` | `int64` | itgen_ncl_storage | [ ] | filters on the platform, writable, `storage` |  |
| `storage_id` | `varchar2` | itgen_ncl_storage_id | [ ] | filters on the platform, writable, `storage_id` |  |
| `token` | `varchar2` | itgen_ncl_token | [ ] | filters on the platform, writable, `token` |  |
| `uid_file_owner` | `varchar2` | itgen_ncl_uid_file_owner | [ ] | filters on the platform, writable, `uid_file_owner` |  |
| `uid_owner` | `varchar2` | itgen_ncl_uid_owner | [ ] | filters on the platform, writable, `uid_owner` |  |
| `url` | `varchar2` | itgen_ncl_url | [ ] | filters on the platform, writable, `url` |  |

