Currently, User Plugin REST API allows only triggering of reload (/api/plugin/reload)
I'd like to set reload interval through REST API instead of changing system property and restarting. It could be implemented as follows:
/api/plugins/reload?auto : returns autoreload status
/api/plugin/reload?auto=0|<integer> : 0 = off, <integer> = autoreload interval
It seems like Artifactory locks all jar files under etc/plugins/lib on Windows regardless of autoreload. It would be natural to use the REST API to tell Artifactory to drop a user plugin and its resources. That would require adding dependency information to /api/plugins and eg /api/plugins?drop=all|<name> to API.
Keeping track of dependency information would also allow for optimisation of etc/plugins/lib contents, namely, avoiding duplicates wrt Artifactory distribution.