Get attachments REST API: Get parent entity ID


I’m making Get Attachments API call and providing pageID.<123>/child/attachment.

In response I see 4 attachments, but only 2 of them attached to a pageID 123 directly. Other attachments attached to a comments under this page. But I don’t see how I can determine parent comment ID for each attachment.

Does anybody know how to deal with it?