Get the status of the API
::returns: { status: 'code', time: 'timestamp' }
Post data to this route to upload a file {'payload': data }
Post two paths to this route to mave a to b Post json {'src':'sourcepath', 'dest': 'destpath' }
Post a path to the server for deletion post json {'payload': "name of file to delete"}
Post a modified file, remove old.
File: is the name of a file as it is stored on the filesystem it can have some number of path segments infront eg. /api/download/test/test.txt
::returns: a file
Directory: a subdirectory that you want the contents of
::returns: json object of the form
{ items: [{ name: "filename", t: "file" }, { name: "dirname" t: "dir" }] }
::returns: json object of the form
{ items: [{ name: "filename", t: "file", items: "", }, { name: "dirname", t: "dir", items: [{ name: "filename", t: "file", items: "", }] }] }