-
Notifications
You must be signed in to change notification settings - Fork 11
API
FileBrowser Quantum has an API that can be used outside of the UI to do things like:
- View filesystem information
- Get and save files
- Get and save user details
These actions require API JWT tokens.
You can create API tokens from the settings page via "API Management" section. This section will only show up if the user has "API" permissions, which can be granted by editing the user in user management.
Regardless of whether a user has API permissions, anyone can visit the swagger page which is found at /swagger
. This swagger page uses a short-live token (2-hour exp) that the UI uses, but allows for quick access to all the API's and their described usage and requirements:
When using the API outside of swagger, you will need to set the API token as a bearer token authentication type. This means the authorization header will look like Authorization: Bearer <token>
. For example in Postman:
Successful Request:
Failed Request