Can I get list of possible outgoing transition of the current element via API?

Hi,

My project has used Bonita to control document workflow, which each element in the process represent each employee level. I'm finding for API that I can send flownode_instance id to get the possible outgoing transition.

Below is the example image:

From the image, if the flownode_instance is currently at 2501, I want to send flownode_instance id to API to get 2501, 2203, 4501, 4101 in return.

Is there any standard API available for this? Or if I have to customize the system, is there any guide to do it?

 

Thank you for your help :)