Retrieving information about parent nodes from nested instance/child IDs?

Hi everyone,

I’m wondering if it’s possible to retrieve information/id about parent nodes from nested instance/child IDs using REST API.

Here’s a potential use case: I’m unable to comment on instance nodes because their IDs include a prefix, like I118:1407;843:12786. Although I can manually remove the prefix to comment on it’s parents node 118:1407, it doesn’t seem like the best practice.

I know that you can access parent nodes in the Plugin API. Therefore, I’m curious to know if similar functionality is available in the REST API.

Thank you!