---
title: "FileById2 (HubSpot)"
description: "Soubor podle ID"
language: cs
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/cs/datamodels/hubspot/Files.Files.FileById2
original: https://documentation.invantive.eu/en/datamodels/hubspot/Files.Files.FileById2
updated: 2026-12-04T09:02:31Z
license: https://documentation.invantive.eu/cs/
---

# FileById2: HubSpot File by ID

`read only` `REST`

- Katalog: `Files`
- Schéma: `Files`
- Label: File by ID

Get file. Get file by ID.

Lze načítat pouze data.

## Zdroj API

- Koncový bod: `/files/v3/files/{fileId}`
- Operace: `get /files/v3/files/{fileId}`

## Parametry

| Jméno | Datový typ | Vyžadováno | Výchozí | Dokumentace |
|---|---|:---:|---|---|
| `fileId` | `` | [x] |  | ID of the desired file. |

## Sloupce tabulky

Sloupce tabulky `FileById2` jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).

| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|:---:|---|---|
| `access` | `varchar2` | Přístup | [ ] |  | File access.Can be PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, PRIVATE. |
| `archived` | `char` | Archivováno | [ ] |  | If the file is deleted. |
| `archivedAt` | `datetime` | Archivováno na | [ ] |  | Deletion time of the file object. |
| `createdAt` | `datetime` | Vytvořeno dne | [ ] |  | Creation time of the file object. |
| `defaultHostingUrl` | `varchar2` | Výchozí URL hostingu | [ ] |  | Default hosting URL of the file.This will use one of HubSpot's provided URLs to serve the file. |
| `encoding` | `varchar2` | Kódování | [ ] |  | Encoding of the file. |
| `expiresAt` | `int64` | Platnost končí dne | [ ] |  |  |
| `extension` | `varchar2` | Rozšíření | [ ] |  | Extension of the file. ex: .jpg, .png, .gif, .pdf, etc. |
| `height` | `int32` | Výška | [ ] |  | For image and video files, the height of the content. |
| `id` | `varchar2` | ID | [ ] |  | ID souboru. |
| `isUsableInContent` | `char` | Lze použít v obsahu | [ ] |  | Previously "archied".Indicates if the file should be used when creating new content like web pages. |
| `name` | `varchar2` | Jméno | [ ] |  | Název souboru. |
| `parentFolderId` | `varchar2` | ID nadřazené složky | [ ] |  | ID of the folder the file is in. |
| `path` | `varchar2` | Cesta | [ ] |  | Path of the file in the file manager. |
| `size` | `int64` | Velikost | [ ] |  | Size of the file in bytes. |
| `type` | `varchar2` | Typ | [ ] |  | Type of the file.Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER. |
| `updatedAt` | `datetime` | Aktualizováno dne | [ ] |  | Timestamp of the latest update to the file. |
| `url` | `varchar2` | URL | [ ] |  | URL of the given file.This URL can change depending on the domain settings of the account.Will use the select file hosting domain. |
| `width` | `int32` | Šířka | [ ] |  | For image and video files, the width of the content. |


## Poznámky k Vydání

Jaké změny v tabulkách, sloupcích, atributech a funkcích ovladače nastaly v jednotlivých verzích:

- [HubSpot](/cs/release-notes/drivers/hubspot)
