The documentation for endpoint https://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/api.html#post-dmrename incorrectly states that this operation will stat a file. In fact it will rename a file. It also says the old and new parameters are query parameters. In fact, these parameters are to be passed in the body, in the form
{
"old": "https:///...",
"new": "https:///..."
}
The documentation is also incomplete, as it says this only works for files, although it works for both files and folders.
The documentation for endpoint https://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/api.html#post-dmrename incorrectly states that this operation will stat a file. In fact it will rename a file. It also says the
oldandnewparameters are query parameters. In fact, these parameters are to be passed in the body, in the form{ "old": "https:///...", "new": "https:///..." }The documentation is also incomplete, as it says this only works for files, although it works for both files and folders.