Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API documentation for rename incorrect #3

Open
thebe14 opened this issue Jun 1, 2022 · 0 comments
Open

API documentation for rename incorrect #3

thebe14 opened this issue Jun 1, 2022 · 0 comments

Comments

@thebe14
Copy link

thebe14 commented Jun 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant