some documentation

This commit is contained in:
Ville Rantanen
2018-03-10 16:31:08 +02:00
parent 4d43fc1a5b
commit 6724ac2557

View File

@@ -35,7 +35,7 @@ location /flees/ {
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name /flees;
client_max_body_size 8G;
client_body_timeout 240s;
client_body_timeout 3600s;
}
```
@@ -100,7 +100,7 @@ Operation is one of download, direct_download, zip_download, or upload
Download a file using the filename token (if direct download enabled)
- @app.route('/download/<name>/<token>/<filename>', methods=['GET'])
Download a file using the share token
- @app.route('/download/<name>/<filename>', methods=['GET'])
- @app.route('/download_gui/<name>/<filename>', methods=['GET'])
Download a file with a browser
- @app.route('/zip/<name>/<token>', methods=['GET'])
Download the whole share as a zip file using share token