Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Web

The Filepack server responds to the following web routes:

methodpathdescription
GET/Display all packages.
GET/artwork/{fingerprint}Serve cover art of package with fingerprint.
GET/artwork/{fingerprint}/thumbnailServe thumbnail of cover art of package with fingerprint.
GET/directory/{hash}Display entries of directory with hash.
GET/favicon.icoServe favicon.
GET/file/{hash}Serve file with hash.
GET/file/{hash}/{*path}Serve file with hash, with content type inferred from path, redirecting to /file/{hash} if the extension of path is not recognized.
GET/filesDisplay all files on the server.
GET/install.shServe installation script.
GET/media/audio/{fingerprint}/item/{item}Serve audio item of package with fingerprint.
GET/media/image/{fingerprint}/item/{item}Serve image item of package with fingerprint.
GET/media/image/{fingerprint}/item/{item}/thumbnailServe thumbnail of image item of package with fingerprint.
GET/media/video/{fingerprint}/item/{item}Serve video item of package with fingerprint.
GET/media/video/{fingerprint}/item/{item}/placeholderServe placeholder image of video item of package with fingerprint.
GET/media/video/{fingerprint}/item/{item}/placeholder/thumbnailServe thumbnail of placeholder image of video item of package with fingerprint.
GET/mount/{package}Redirect to root of mounted package, with trailing slash.
GET/mount/{package}/Serve index.html from static directory of mounted package.
GET/mount/{package}/{*path}Serve path from static directory of mounted package.
GET/package/{package}Display package.
GET/package/{package}/historyDisplay revision history of package.
GET/package/{package}/item/{item}Display media item of package.
GET/package/{package}/mediaDisplay media of package.
GET/packagesDisplay all packages.
GET/static/{*path}Serve static asset at path.

And the following fallback routes, if no other route matches:

methodpathdescription
GET/{fingerprint}Redirect to /package/{fingerprint}
GET/{number}Redirect to /package/{number}
GET/{revision}Redirect to /package/{revision}
GET/{name}/Serve static/index.html of mounted web package with name
GET/{name}/{*path}Serve file at static/{path} of mounted web package with name