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

FileSearches: HubSpot File Search Results

read only REST

  • Catalog: Files
  • Schema: Files
  • Label: File Search Results

Search files Search through files in the file manager. Does not display hidden or archived files.

Can only retrieve data.

API Source

  • Endpoint: /files/v3/files/search
  • Operation: get /files/v3/files/search

Parameters

Name Data Type Required Default Documentation
after `` Offset search results by this value. The default offset is 0 and the maximum offset of items for a given search is 10,000. Narrow your search down if you are reaching this limit.
allowsAnonymousAccess `` Search files by access. If 'true' will show only public files; if 'false' will show only private files
before `` Search files updated before this timestamp. Time must be epoch time in milliseconds.
createdAt `` Search files by exact time of creation. Time must be epoch time in milliseconds.
createdAtGte `` Search files by greater than or equal to time of creation. Can be used with createdAtLte to create a range.
createdAtLte `` Search files by less than or equal to time of creation. Can be used with createdAtGte to create a range.
encoding `` Search files by specified encoding.
expiresAt `` Search files by exact expires time. Time must be epoch time in milliseconds.
expiresAtGte `` Search files by greater than or equal to expires time. Can be used with expiresAtLte to create a range.
expiresAtLte `` Search files by less than or equal to expires time. Can be used with expiresAtGte to create a range.
extension `` Search files by given extension.
fileMd5 `` Search files by specific md5 hash.
height `` Search files by height of image or video.
heightGte `` Search files by greater than or equal to height of image or video. Can be used with heightLte to create a range.
heightLte `` Search files by less than or equal to height of image or video. Can be used with heightGte to create a range.
idGte `` Search files by greater than or equal to ID. Can be used with idLte to create a range.
idLte `` Search files by less than or equal to ID. Can be used with idGte to create a range.
isUsableInContent `` If true shows files that have been marked to be used in new content. It false shows files that should not be used in new content.
name `` Search for files containing the given name.
path `` Search files by path.
size `` Search files by exact file size in bytes.
sizeGte `` Search files by greater than or equal to file size. Can be used with sizeLte to create a range.
sizeLte `` Search files by less than or equal to file size. Can be used with sizeGte to create a range.
type `` Search files by file type.
updatedAt `` Search files by exact time of latest updated. Time must be epoch time in milliseconds.
updatedAtGte `` Search files by greater than or equal to time of latest update. Can be used with updatedAtLte to create a range.
updatedAtLte `` Search files by less than or equal to time of latest update. Can be used with updatedAtGte to create a range.
url `` Search for given URL
width `` Search files by width of image or video.
widthGte `` Search files by greater than or equal to width of image or video. Can be used with widthLte to create a range.
widthLte `` Search files by less than or equal to width of image or video. Can be used with widthGte to create a range.

Table Columns

The columns of the table FileSearches 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.
fileMd5 varchar2 itgen_hubspot_filemd5 The MD5 hash of the file.
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.
sourceGroup varchar2 itgen_hubspot_sourcegroup
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: