figma-api

Crates.iofigma-api
lib.rsfigma-api
version0.31.4
created_at2025-06-07 12:04:06.882162+00
updated_at2025-12-03 07:22:00.899465+00
descriptionThis is the OpenAPI specification for the [Figma REST API](https://www.figma.com/developers/api). Note: we are releasing the OpenAPI specification as a beta given the large surface area and complexity of the REST API. If you notice any inaccuracies with the specification, please [file an issue](https://github.com/figma/rest-api-spec/issues).
homepage
repositoryhttps://github.com/gridaco/figma-api-rust
max_upload_size
id1703954
size1,761,822
Universe (softmarshmallow)

documentation

https://www.figma.com/developers/api

README

Rust API client for figma-api

This is the OpenAPI specification for the Figma REST API.

Note: we are releasing the OpenAPI specification as a beta given the large surface area and complexity of the REST API. If you notice any inaccuracies with the specification, please file an issue.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 0.31.0
  • Package version: 0.31.0
  • Generator version: 7.13.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named figma-api and add the following to Cargo.toml under [dependencies]:

figma-api = { path = "./figma-api" }

Documentation for API Endpoints

All URIs are relative to https://api.figma.com

Class Method HTTP request Description

ComponentSetsApi | get_component_set | GET /v1/component_sets/{key} | Get component set ComponentSetsApi | get_file_component_sets | GET /v1/files/{file_key}/component_sets | Get file component sets ComponentsApi | get_component | GET /v1/components/{key} | Get component ComponentsApi | get_file_components | GET /v1/files/{file_key}/components | Get file components FilesApi | get_file | GET /v1/files/{file_key} | Get file JSON FilesApi | get_file_meta | GET /v1/files/{file_key}/meta | Get file metadata FilesApi | get_file_nodes | GET /v1/files/{file_key}/nodes | Get file JSON for specific nodes FilesApi | get_image_fills | GET /v1/files/{file_key}/images | Get image fills FilesApi | get_images | GET /v1/images/{file_key} | Render images of file nodes StylesApi | get_file_styles | GET /v1/files/{file_key}/styles | Get file styles StylesApi | get_style | GET /v1/styles/{key} | Get style

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

support@figma.com

Commit count: 12

cargo fmt