Hello all,
I have a question about the cached files. The files that Misskey saves from other instances take up quite a bit of hard disk space over time. I took a look at the API documentation and found the following two endpoints:
api/admin/clean-remote-files
Which is obviously used for the remote files
api/admin/drive/cleanup
This seems to be for the local drive.
Now my question:
Which files are deleted with clean-remote-files? Does it depend on the age and if so, what age is used? 7 days?
For the drive/cleanup: Which files are deleted? What are the dependencies?
Does it make sense to run these two API calls as a cronjob in order to regularly free up storage space?
What permissions does the API key need for this? Today I ran the call api/admin/clean-remote-files and gave the API key all rights. Here it would be desirable for me if we kept the rights as small as possible.
I hope you can answer my questions 🙂