figma-api
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFigma API
Figma API
This is the OpenAPI specification for the Figma REST API.
这是Figma REST API的OpenAPI规范。
How to Use This Skill
如何使用本技能
This API documentation is split into multiple files for on-demand loading.
Directory structure:
references/
├── resources/ # 14 resource index files
├── operations/ # 46 operation detail files
└── schemas/ # 105 schema groups, 223 schema filesNavigation flow:
- Find the resource you need in the list below
- Read to see available operations
references/resources/<resource>.md - Read for full details
references/operations/<operation>.md - If an operation references a schema, read
references/schemas/<prefix>/<schema>.md
本API文档拆分为多个文件,支持按需加载。
目录结构:
references/
├── resources/ # 14个资源索引文件
├── operations/ # 46个操作详情文件
└── schemas/ # 105个模式组,223个模式文件导航流程:
- 在下方列表中找到你需要的资源
- 阅读查看可用操作
references/resources/<resource>.md - 阅读获取完整详情
references/operations/<operation>.md - 如果某个操作引用了模式,请阅读
references/schemas/<prefix>/<schema>.md
Base URL
基础URL
https://api.figma.com
https://api.figma.com
Authentication
认证
Supported methods: PersonalAccessToken, OAuth2, OrgOAuth2. See for details.
references/authentication.md支持的方式:PersonalAccessToken、OAuth2、OrgOAuth2。详情请查看。
references/authentication.mdResources
资源
- Webhooks → (7 ops) - Interact with team webhooks as a team admin.
references/resources/Webhooks.md - Files → (6 ops) - Get file JSON, images, and other file-related cont
references/resources/Files.md - Library Analytics → (6 ops) - Get analytics data for your published libraries.
references/resources/Library-Analytics.md - Dev Resources → (4 ops) - Interact with dev resources in Figma Dev Mode.
references/resources/Dev-Resources.md - Comments → (3 ops) - Interact with file comments.
references/resources/Comments.md - Comment Reactions → (3 ops) - Interact with reactions to file comments.
references/resources/Comment-Reactions.md - Components → (3 ops) - Get information about published components.
references/resources/Components.md - Component Sets → (3 ops) - Get information about published component sets.
references/resources/Component-Sets.md - Styles → (3 ops) - Get information about published styles.
references/resources/Styles.md - Variables → (3 ops) - Interact with variables in an Enterprise organizat
references/resources/Variables.md - Projects → (2 ops) - Get information about projects and files in teams.
references/resources/Projects.md - Users → (1 ops) - Get information about the currently authenticated
references/resources/Users.md - Activity Logs → (1 ops) - Get activity logs as an organization admin.
references/resources/Activity-Logs.md - Payments → (1 ops) - Get purchase information for your Community resour
references/resources/Payments.md
- Webhooks → (7个操作)- 以团队管理员身份与团队Webhooks交互。
references/resources/Webhooks.md - Files → (6个操作)- 获取文件JSON、图片及其他文件相关内容
references/resources/Files.md - Library Analytics → (6个操作)- 获取已发布资源库的分析数据。
references/resources/Library-Analytics.md - Dev Resources → (4个操作)- 在Figma开发模式中与开发资源交互。
references/resources/Dev-Resources.md - Comments → (3个操作)- 与文件评论交互。
references/resources/Comments.md - Comment Reactions → (3个操作)- 与文件评论的反应交互。
references/resources/Comment-Reactions.md - Components → (3个操作)- 获取已发布组件的信息。
references/resources/Components.md - Component Sets → (3个操作)- 获取已发布组件集的信息。
references/resources/Component-Sets.md - Styles → (3个操作)- 获取已发布样式的信息。
references/resources/Styles.md - Variables → (3个操作)- 与企业组织中的变量交互
references/resources/Variables.md - Projects → (2个操作)- 获取团队中的项目和文件信息。
references/resources/Projects.md - Users → (1个操作)- 获取当前已认证用户的信息
references/resources/Users.md - Activity Logs → (1个操作)- 以组织管理员身份获取活动日志。
references/resources/Activity-Logs.md - Payments → (1个操作)- 获取你的社区资源的购买信息
references/resources/Payments.md