diff --git a/templates/API.html b/templates/API.html index 251cbaf..9e02b2a 100644 --- a/templates/API.html +++ b/templates/API.html @@ -33,6 +33,9 @@

Specify a custom deletion key
Linx-Delete-Key: mysecret

+

Protect file with password
+ Linx-Access-Key: mysecret

+

Specify an expiration time (in seconds)
Linx-Expiry: 60

@@ -46,6 +49,7 @@ “direct_url”: the url to access the file directly
“filename”: the (optionally generated) filename
“delete_key”: the (optionally generated) deletion key,
+ “access_key”: the (optionally generated) access key,
“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