Skip to main content
Question

Get DirectionalTransition information via REST API

  • February 22, 2022
  • 5 replies
  • 1462 views

dsalvia

Hi everyone,

I would like to know if it is possible to get the settings of an Interaction Animation via REST API. Especially the type and direction – as it is documented here Transition · Figma Developers as part of DirectionalTransition interface, but using the REST API.

The REST API documentation (Figma) says that only these properties can be retrieved:

  • transitionNodeID
  • transitionEasing
  • transitionDuration

And during my tests, I realized that transition type and direction are not being retrieved in the JSON response, so I suspect they are not implemented. Am I right? If that’s the case, would it be possible to add them? 🙏

Any help will be much appreciated.

Regards.-

This topic has been closed for replies.

5 replies

dsalvia
  • Author
  • 2 replies
  • March 3, 2022

There is any way to get transition direction and type using the REST API?

I suspect there are missing fields “transitionDirection” and “transitionType” that could be included in the JSON response in the same as “transitionDuration”, “transitionEase” y “transitionNodeID”.

I’ll look forward to your response.

Thanks in advance.-


Dominik_Wawrzonek

Wondering also, if there is a way to get this info from API.


Scott_Clee

I agree, it seems this information is missing from the API and would be really useful. Not having transitionType is a killer for me at the moment as I’m unable to distinguish between navigation, open overlay & variant switching actions,


I’m really interested about this issue, it would be really useful to count with this information from the API.


It has been any update on this issue?

I’m currently working with the REST API and this feature would help a lot.

Thanks.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings