invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

FileById2: HubSpot File by ID

read only REST

  • Catalog: Files
  • Schema: Files
  • Label: File by ID

Get file. Get file by ID.

Can only retrieve data.

API Source

  • Endpoint: /files/v3/files/{fileId}
  • Operation: get /files/v3/files/{fileId}

Parameters

Name Data Type Required Default Documentation
fileId `` ID of the desired file.

Table Columns

The columns of the table FileById2 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
access varchar2 Access File access. Can be PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, PRIVATE.
archived char Archived If the file is deleted.
archivedAt datetime Archived at Deletion time of the file object.
createdAt datetime Created at Creation time of the file object.
defaultHostingUrl varchar2 Default Hosting URL Default hosting URL of the file. This will use one of HubSpot's provided URLs to serve the file.
encoding varchar2 Encoding Encoding of the file.
expiresAt int64 Expires at
extension varchar2 Extension Extension of the file. ex: .jpg, .png, .gif, .pdf, etc.
height int32 Height For image and video files, the height of the content.
id varchar2 ID File ID.
isUsableInContent char Is Usable in Content Previously "archied". Indicates if the file should be used when creating new content like web pages.
name varchar2 Name Name of the file.
parentFolderId varchar2 Parent Folder ID ID of the folder the file is in.
path varchar2 Path Path of the file in the file manager.
size int64 Size Size of the file in bytes.
type varchar2 Type Type of the file. Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER.
updatedAt datetime Updated at 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 Width For image and video files, the width of the content.

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: