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 mkdir, rmdir and unlink incorrect #1

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

API documentation for mkdir, rmdir and unlink incorrect #1

thebe14 opened this issue Jun 1, 2022 · 0 comments

Comments

@thebe14
Copy link

thebe14 commented Jun 1, 2022

The documentation for endpoints https://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/api.html#post-dmmkdir , https://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/api.html#post-dmrmdir and https://fts3-docs.web.cern.ch/fts3-docs/fts-rest/docs/api.html#post-dmunlink incorrectly states that the surl parameter is a query parameter. In fact, these requests need the parameter to be passed in the body, in the form

{
    "surl": "https:///..."
}

The documentation for mkdir also says it creates a remote file, which is incorrect.

@thebe14 thebe14 changed the title API documentation incorrect API documentation for mkdir and rmdir incorrect Jun 1, 2022
@thebe14 thebe14 changed the title API documentation for mkdir and rmdir incorrect API documentation for mkdir, rmdir and unlink incorrect Jun 1, 2022
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