HubSpot · Schema

AssetFileMetadata

Metadata for a file or folder in the CMS Developer File System

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

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)
View JSON Schema on GitHub

JSON Schema

source-code-api-asset-file-metadata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/source-code-api-asset-file-metadata-schema.json",
  "title": "AssetFileMetadata",
  "description": "Metadata for a file or folder in the CMS Developer File System",
  "type": "object",
  "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)",
      "items": {
        "type": "string"
      },
      "example": [
        "header.html",
        "footer.html",
        "sidebar.html"
      ]
    },
    "hash": {
      "type": "string",
      "description": "Content hash for change detection",
      "example": "a1b2c3d4e5f6"
    },
    "createdAt": {
      "type": "integer",
      "format": "int64",
      "description": "Unix timestamp when the file was created",
      "example": 1705312200000
    },
    "updatedAt": {
      "type": "integer",
      "format": "int64",
      "description": "Unix timestamp when the file was last updated",
      "example": 1705398600000
    },
    "archivedAt": {
      "type": "integer",
      "format": "int64",
      "description": "Unix timestamp when the file was archived (if applicable)",
      "example": 0
    }
  },
  "required": [
    "id",
    "name",
    "folder",
    "createdAt",
    "updatedAt"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/source-code-api-asset-file-metadata"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.