I want to download files with the comments

Hi, I want to download some files from my nextcloud without losing the comments of the files, is that possible in some way?
Regards,
Rafa

Where do you want to put the comments?
You could use a script to retrieve the comments via API, then the file but you need to put it somewhere afterwards…

Hello thanks for answering.
What I want is a file with all the documents and their comments; and if not possible, a file for each original file with its comments.
I don’t know if I have explained myself well, if not tell me and I will try to explain it in a different way.

if you manage to get the things from the api, it should be no problem to get through all the files and their comments (https://docs.nextcloud.com/server/latest/developer_manual/client_apis/WebDAV/comments.html)

You want this just as a backup for the comments? Or this is voting on something like pictures and you want to use this information?

What I want is the backup of the file and the comment, so after downloading the file and the comment I can check both offline.