API
Folder listing
Add ?ls
to a folder URL to get a JSON response of the folder content.
https://dir-demo.adriansoftware.de/?ls
File info
Add ?info
to a file URL to get a JSON response of the file info. A password is required if the file is password protected.
https://dir-demo.adriansoftware.de/Dockerfile?info
warning
Disabling this feature will also disable the Copy Hash
feature as it relies on the API.
⚙️ Configuration
Variable | Default | Values | Details |
---|---|---|---|
API | true | true false | added in v3.1 |
How to set configuration options
Set the environment variables when starting the container.
Use
Use
docker run
...- ...with
-e API=true
- ...with
--env-file .env
and placeAPI=true
in the file