pub async fn get_file(
configuration: &Configuration,
file_key: &str,
version: Option<&str>,
ids: Option<&str>,
depth: Option<f64>,
geometry: Option<&str>,
plugin_data: Option<&str>,
branch_data: Option<bool>,
) -> Result<InlineObject, Error<GetFileError>>
Expand description
Returns the document identified by file_key
as a JSON object. The file key can be parsed from any Figma file url: https://www.figma.com/file/{file_key}/{title}
. The document
property contains a node of type DOCUMENT
. The components
property contains a mapping from node IDs to component metadata. This is to help you determine which components each instance comes from.