Thanks for the reply
actually something similar for what you have done, but not to get the information of a file but to get what changes were made to that file (such as, deleting file, creating file or renaming file)
you can say to make a listener to the activities that are made by the server
since we are in the subject, for an app that listens to the NextCloud server, do you know how to create a hooks at administrative level, to monitor all activities done to the files, for all users all the time whether they are signed in or not?
there is an app called activity it listens to the server and return all the activities that are made to the files by that user, but only for the logged in user, I didn’t find in the documentations any hint to when I need.