We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I created an API Token for a single library, set it to read-write but whenever i wanna access the API i get the
“detail”: “Invalid token”
response. No Matter what API endpoint i query.
Is this supposed to work? Are there special endpoints for the lib api token to query?
Getting the token for the whole account and querying the API with that works fine, just not if i create a token for a single library.
The text was updated successfully, but these errors were encountered:
The library token is currently only usable for special endpoints described here https://download.seafile.com/published/web-api/v2.1/library-api-tokens.md Looking at the source
Part of the source code is here https://github.com/haiwen/seahub/blob/master/seahub/api2/endpoints/via_repo_token.py
Sorry, something went wrong.
No branches or pull requests
I created an API Token for a single library, set it to read-write but whenever i wanna access the API i get the
“detail”: “Invalid token”
response. No Matter what API endpoint i query.
Is this supposed to work? Are there special endpoints for the lib api token to query?
Getting the token for the whole account and querying the API with that works fine, just not if i create a token for a single library.
The text was updated successfully, but these errors were encountered: