Main Service at uploader.fono.jp
$ docker run -d --name uploader -v $PWD:/var/www/uploader fono09/uploader
$ cp uploader.service /etc/systemd/system
$ systemctl enable uploader
$ systemctl start uploader
responce: WebUI
responce: JSON
[{"id": file_id, "name": file_name, "comment": comment, "dl_locked": bool, "del_locked": bool, "last_updated": timestamp"}.....]
request params: multipart/form-data file = File(binary) comment = comment(text) dlpass = download password delpass = delete password
responce: JSON
{"id": file_id}
request params: none responce: File(without dlpass)
request params: id, :mime(string) responce: File(without dlpass, correct mime type)
request params: id, dlpass responce: bool (if session[:id] == true after GET /download/:id allowed)
request params: id Download page with Twitter Card