| Crates.io | figma-api |
| lib.rs | figma-api |
| version | 0.31.4 |
| created_at | 2025-06-07 12:04:06.882162+00 |
| updated_at | 2025-12-03 07:22:00.899465+00 |
| description | This 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 | |
| repository | https://github.com/gridaco/figma-api-rust |
| max_upload_size | |
| id | 1703954 |
| size | 1,761,822 |
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.
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.
org.openapitools.codegen.languages.RustClientCodegenPut 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" }
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
To get access to the crate's generated documentation, use:
cargo doc --open