Skip to main content
dsalvia
Feb 22, 2022 5:18 PM UTC
Question

Get DirectionalTransition information via REST API

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
dsalviaAuthor
Mar 3, 2022 5:14 PM UTC

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
New Member
May 24, 2022 9:25 AM UTC

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

Scott_Clee
Jun 23, 2022 10:59 AM UTC

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,

Jul 13, 2023 12:59 PM UTC

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

Jul 13, 2023 1:53 PM UTC

It has been any update on this issue?

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

Thanks.