Figma · Schema

GetFileNodesResponse

Response from the Get File Nodes endpoint.

CollaborationDesignGraphicsInterfacesPrototypesPrototypingUI/UX

Properties

Name Type Description
name string The name of the file.
lastModified string
version string
role string
nodes object A mapping from node IDs to node data. Each value contains a document subtree and optionally the component metadata for that node.
View JSON Schema on GitHub

JSON Schema

figma-rest-get-file-nodes-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GetFileNodesResponse",
  "type": "object",
  "description": "Response from the Get File Nodes endpoint.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the file."
    },
    "lastModified": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "role": {
      "type": "string"
    },
    "nodes": {
      "type": "object",
      "description": "A mapping from node IDs to node data. Each value contains a document subtree and optionally the component metadata for that node."
    }
  }
}