HubSpot · Schema
AssetFileMetadata
Metadata for a file or folder in the CMS Developer File System
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The full path of the file in the CMS Developer File System |
| name | string | The name of the file or folder |
| folder | boolean | Whether this path represents a folder (true) or file (false) |
| children | array | List of child files and folders (only present for folders) |
| hash | string | Content hash for change detection |
| createdAt | integer | Unix timestamp when the file was created |
| updatedAt | integer | Unix timestamp when the file was last updated |
| archivedAt | integer | Unix timestamp when the file was archived (if applicable) |
JSON Schema
{
"type": "object",
"description": "Metadata for a file or folder in the CMS Developer File System",
"properties": {
"id": {
"type": "string",
"description": "The full path of the file in the CMS Developer File System",
"example": "templates/blog/post.html"
},
"name": {
"type": "string",
"description": "The name of the file or folder",
"example": "post.html"
},
"folder": {
"type": "boolean",
"description": "Whether this path represents a folder (true) or file (false)",
"example": false
},
"children": {
"type": "array",
"description": "List of child files and folders (only present for folders)",
"example": [
"header.html",
"footer.html",
"sidebar.html"
],
"items": {
"type": "string"
}
},
"hash": {
"type": "string",
"description": "Content hash for change detection",
"example": "a1b2c3d4e5f6"
},
"createdAt": {
"type": "integer",
"description": "Unix timestamp when the file was created",
"format": "int64",
"example": 1705312200000
},
"updatedAt": {
"type": "integer",
"description": "Unix timestamp when the file was last updated",
"format": "int64",
"example": 1705398600000
},
"archivedAt": {
"type": "integer",
"description": "Unix timestamp when the file was archived (if applicable)",
"format": "int64",
"example": 0
}
},
"required": [
"id",
"name",
"folder",
"createdAt",
"updatedAt"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "AssetFileMetadata"
}