mirror of
https://github.com/9001/copyparty.git
synced 2025-12-27 10:15:16 -05:00
view .cbz in browser (#916)
adds functionality to allow browsing .cbz directly in the browser, without downloading them and using a separate program. meant for quickly inspecting the contents, less so for reading. adds two new api calls, ?zls and ?zget, which return a file listing of a zip file and a specific file in the archive, respectively. uses the zipfile module, so no support for .cbr etc
This commit is contained in:
@@ -200,6 +200,8 @@ authenticate using header `Cookie: cppwd=foo` or url param `&pw=foo`
|
||||
| GET | `?th` | get image/video at URL as thumbnail |
|
||||
| GET | `?th=opus` | convert audio file to 128kbps opus |
|
||||
| GET | `?th=caf` | ...in the iOS-proprietary container |
|
||||
| GET | `?zls` | get listing of filepaths in zip file at URL |
|
||||
| GET | `?zget=path` | get specific file from inside a zip file at URL |
|
||||
|
||||
| method | body | result |
|
||||
|--|--|--|
|
||||
|
||||
Reference in New Issue
Block a user