Skip to content

HubSpot: Source code schemas

4 HubSpot schemas with complete fields and constraints.

← Source code operations · All schemas

Create a file — response body

FieldTypePresenceDescription and constraints
$objectRoot
archivedAtJSONOptional
archivedAt (anyOf 1)integerAlternativeTimestamp of when the object was archived (deleted).
Format: int64
archivedAt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
childrenarrayOptionalIf the object is a folder, contains the filenames of the files within the folder.
children[]stringEach item
createdAtJSONRequired within parent
createdAt (anyOf 1)integerAlternativeTimestamp of when the object was first created.
Format: int64
createdAt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
folderbooleanRequired within parentDetermines whether or not this path points to a folder.
hashstringOptionalA unique identifier for the file's content, used to verify data integrity.
idstringRequired within parentThe path of the file in the CMS Developer File System.
namestringRequired within parentThe name of the file.
updatedAtJSONRequired within parent
updatedAt (anyOf 1)integerAlternativeTimestamp of when the object was last updated.
Format: int64
updatedAt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Extract a zip file — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
pathstringRequired within parentThe file system location where the zip file is to be extracted.

Extract a zip file — response body

FieldTypePresenceDescription and constraints
$objectRoot
idstringRequired within parentThe unique identifier for the task.
linksobjectOptionalA map of link names to associated URIs containing documentation about the error or recommended remediation steps
Additional keys: see wildcard field
links.*stringAdditional keys

Get extraction status — response body

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringRequired within parentThe timestamp indicating when the action was completed.
Format: date-time
linksobjectOptionalA map of link names to associated URIs containing documentation about the error or recommended remediation steps
Additional keys: see wildcard field
links.*stringAdditional keys
requestedAtstringOptionalThe timestamp indicating when the action was requested.
Format: date-time
startedAtstringRequired within parentThe timestamp indicating when the action was started.
Format: date-time
statusstringRequired within parentThe current status of the action, with possible values: CANCELED, COMPLETE, PENDING, PROCESSING.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.