---
title: "FileById (HubSpot)"
description: "Tiedosto tunnuksen mukaan"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/hubspot/Files.Files.FileById
original: https://documentation.invantive.eu/en/datamodels/hubspot/Files.Files.FileById
updated: 2026-12-04T15:16:23Z
license: https://documentation.invantive.eu/fi/
---

# FileById: HubSpot File by ID

`read only` `REST`

- Luettelo: `Files`
- Kaavio: `Files`
- Label: File by ID

Retrieve file by ID Retrieve a file by its ID.

Voi hakea vain tietoja.

## API-lähde

- Päätepiste: `/files/v3/files/{fileId}`
- Toiminto: `get /files/v3/files/{fileId}`

## Parametrit

| Nimi | Tietotyyppi | Tarvitaan | Oletus | Dokumentaatio |
|---|---|:---:|---|---|
| `fileId` | `` | [x] |  | ID of the desired file. |

## Taulukon sarakkeet

Taulukon `FileById` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `access` | `varchar2` | Pääsy | [ ] |  | File access.Can be PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, PRIVATE. |
| `archived` | `char` | Arkistoitu | [ ] |  | If the file is deleted. |
| `archivedAt` | `datetime` | Arkistoitu osoitteessa | [ ] |  | Deletion time of the file object. |
| `createdAt` | `datetime` | Luotu | [ ] |  | Creation time of the file object. |
| `defaultHostingUrl` | `varchar2` | Oletusarvoinen URL-osoite | [ ] |  | Default hosting URL of the file.This will use one of HubSpot's provided URLs to serve the file. |
| `encoding` | `varchar2` | Koodaus | [ ] |  | Encoding of the file. |
| `expiresAt` | `int64` | Voimassaolo päättyy | [ ] |  |  |
| `extension` | `varchar2` | Laajennus | [ ] |  | Extension of the file. ex: .jpg, .png, .gif, .pdf, etc. |
| `fileMd5` | `varchar2` | itgen_hubspot_filemd5 | [ ] |  | The MD5 hash of the file. |
| `height` | `int32` | Korkeus | [ ] |  | For image and video files, the height of the content. |
| `id` | `varchar2` | ID | [ ] |  | Tiedoston tunnus. |
| `isUsableInContent` | `char` | Voidaan käyttää sisällössä | [ ] |  | Previously "archied".Indicates if the file should be used when creating new content like web pages. |
| `name` | `varchar2` | Nimi | [ ] |  | Tiedoston nimi. |
| `parentFolderId` | `varchar2` | Yläkansion tunniste | [ ] |  | ID of the folder the file is in. |
| `path` | `varchar2` | Polku | [ ] |  | Path of the file in the file manager. |
| `size` | `int64` | Koko | [ ] |  | Size of the file in bytes. |
| `sourceGroup` | `varchar2` | itgen_hubspot_sourcegroup | [ ] |  |  |
| `type` | `varchar2` | Tyyppi | [ ] |  | Type of the file.Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER. |
| `updatedAt` | `datetime` | Päivitetty | [ ] |  | 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` | Leveys | [ ] |  | For image and video files, the width of the content. |


## Julkaisutiedot

Mitä muutoksia ajurien taulukoissa, sarakkeissa, attribuuteissa ja ominaisuuksissa on tapahtunut kunkin julkaisun yhteydessä:

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