Skip to content

Inspection Routes

Ely Haughie edited this page Jan 13, 2018 · 1 revision

Inspection routes are simple append-able suffixes that you can add to the end of a file's URL to get information about it's behavior.

/is-cached

/is-cached will return a boolean using laravel's native dd debugger function to tell you if the file is currently stored in the cache.

/can-be-cached

/can-be-cached returns a boolean representing if the file size is sufficient enough that it can fit into the redis cache.

/delete

/delete is a POST method that requires a username, password and a filename field.
When the filename field is provided if you are the rightful owner of the file, the alias will be deleted.

Clone this wiki locally