AssetFileMetadata is a JSON Structure definition published by HubSpot, describing 8 properties, of which 5 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
{
"type": "object",
"description": "Metadata for a file or folder in the CMS Developer File System",
"name": "AssetFileMetadata",
"properties": {
"id": {
"type": "string",
"description": "The full path of the file in the CMS Developer File System"
},
"name": {
"type": "string",
"description": "The name of the file or folder"
},
"folder": {
"type": "boolean",
"description": "Whether this path represents a folder (true) or file (false)"
},
"children": {
"type": "array",
"description": "List of child files and folders (only present for folders)",
"items": {
"type": "string"
}
},
"hash": {
"type": "string",
"description": "Content hash for change detection"
},
"createdAt": {
"type": "integer",
"description": "Unix timestamp when the file was created"
},
"updatedAt": {
"type": "integer",
"description": "Unix timestamp when the file was last updated"
},
"archivedAt": {
"type": "integer",
"description": "Unix timestamp when the file was archived (if applicable)"
}
},
"required": [
"id",
"name",
"folder",
"createdAt",
"updatedAt"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.