I’m trying to work out how to get a parent comment (if any) of a comment. The API documentation lists an attribute of comments ‘path’, which seems to hold a real, but it doesn’t explain anywhere (that I could find), how to derive the parent comment from that.

Can anyone point me towards a resource to help me work this out?

Thanks in advance.