From c21450cce0f0143e1a101f1b2a4cf5836aed1666 Mon Sep 17 00:00:00 2001
From: Dmitry Manchinskiy Uploading a file
Linx-Randomize: yes
Specify a custom deletion key
Linx-Delete-Key: mysecret
Protect file with password
Linx-Access-Key: mysecret
“url”: the publicly available upload url
“direct_url”: the url to access the file directly
- “filename”: the (optionally generated) filename
+ “filename”: the random filename
+ {% if !keyless_delete %} “delete_key”: the (optionally generated) deletion key,
+ {% endif %} “access_key”: the (optionally supplied) access key,
+ “original_name”: the name of the original file,
“expiry”: the unix timestamp at which the file will expire (0 if never)
“size”: the size in bytes of the file
“mimetype”: the guessed mimetype of the file
@@ -115,7 +120,8 @@Information about a file
“url”: the publicly available upload url
“direct_url”: the url to access the file directly
- “filename”: the (optionally generated) filename
+ “filename”: the random filename
+ "original_name": the name of the original file
“expiry”: the unix timestamp at which the file will expire (0 if never)
“size”: the size in bytes of the file
“mimetype”: the guessed mimetype of the file