Figma · Schema

GetFileResponseBody

CollaborationDesignGraphicsInterfacesPrototypesPrototypingUI/UX

Properties

Name Type Description
name string The name of the file as it appears in the editor.
role string The role of the user making the API request in relation to the file.
lastModified string The UTC ISO 8601 time at which the file was last modified.
editorType string The type of editor associated with this file.
thumbnailUrl string A URL to a thumbnail image of the file.
version string The version number of the file.
components object A mapping from component IDs to component metadata.
componentSets object A mapping from component set IDs to component set metadata.
schemaVersion number The version of the file schema that this file uses.
styles object A mapping from style IDs to style metadata.
mainFileKey string The key of the main file for this file.
branches array A list of branches for this file.
View JSON Schema on GitHub

JSON Schema

figma-files-get-file-response-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GetFileResponseBody",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the file as it appears in the editor."
    },
    "role": {
      "type": "string",
      "description": "The role of the user making the API request in relation to the file."
    },
    "lastModified": {
      "type": "string",
      "description": "The UTC ISO 8601 time at which the file was last modified."
    },
    "editorType": {
      "type": "string",
      "description": "The type of editor associated with this file."
    },
    "thumbnailUrl": {
      "type": "string",
      "description": "A URL to a thumbnail image of the file."
    },
    "version": {
      "type": "string",
      "description": "The version number of the file."
    },
    "components": {
      "type": "object",
      "description": "A mapping from component IDs to component metadata."
    },
    "componentSets": {
      "type": "object",
      "description": "A mapping from component set IDs to component set metadata."
    },
    "schemaVersion": {
      "type": "number",
      "description": "The version of the file schema that this file uses."
    },
    "styles": {
      "type": "object",
      "description": "A mapping from style IDs to style metadata."
    },
    "mainFileKey": {
      "type": "string",
      "description": "The key of the main file for this file."
    },
    "branches": {
      "type": "array",
      "description": "A list of branches for this file."
    }
  }
}