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. | ||
allows |
`` | 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. | ||
created |
`` | Search files by exact time of creation. Time must be epoch time in milliseconds. | ||
created |
`` | Search files by greater than or equal to time of creation. Can be used with createdAtLte to create a range. | ||
created |
`` | 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. | ||
expires |
`` | Search files by exact expires time. Time must be epoch time in milliseconds. | ||
expires |
`` | Search files by greater than or equal to expires time. Can be used with expiresAtLte to create a range. | ||
expires |
`` | 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. | ||
file |
`` | Search files by specific md5 hash. | ||
height |
`` | Search files by height of image or video. | ||
height |
`` | Search files by greater than or equal to height of image or video. Can be used with heightLte to create a range. | ||
height |
`` | 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. | ||
is |
`` | 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. | ||
size |
`` | Search files by greater than or equal to file size. Can be used with sizeLte to create a range. | ||
size |
`` | 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. | ||
updated |
`` | Search files by exact time of latest updated. Time must be epoch time in milliseconds. | ||
updated |
`` | Search files by greater than or equal to time of latest update. Can be used with updatedAtLte to create a range. | ||
updated |
`` | 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. | ||
width |
`` | Search files by greater than or equal to width of image or video. Can be used with widthLte to create a range. | ||
width |
`` | 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. | ||
archived |
datetime |
Archived at | Deletion time of the file object. | ||
created |
datetime |
Created at | Creation time of the file object. | ||
default |
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. | ||
expires |
int64 |
Expires at | |||
extension |
varchar2 |
Extension | Extension of the file. ex: .jpg, .png, .gif, .pdf, etc. | ||
file |
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. | ||
is |
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. | ||
parent |
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. | ||
source |
varchar2 |
itgen_hubspot_sourcegroup | |||
type |
varchar2 |
Type | Type of the file. Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER. | ||
updated |
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: