Get files from posts list / feeds

Hi, how do i get the posts with files under the same response. When i create a posts with attachments (images or video) i see they come under files. Is there a way they can be return under a post object? If not, how can i relate the two

@tkmovement After checking with the relevant team, we found that the use case you described is not currently supported. You will need to implement a solution on your side. We will inform the concerned team to consider your feedback for future development of our product.