diff options
author | metamuffin <metamuffin@disroot.org> | 2023-06-16 18:18:53 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-06-16 18:18:53 +0200 |
commit | ed2b5a8911e46e9cc7242aff09b8fa61f210d185 (patch) | |
tree | 72c071c0103b865d05516fa581be10342f0ad1f3 /api.md | |
parent | 846fe07c2d083fa1015a9ef55b440a83def6e8b8 (diff) | |
download | jellything-ed2b5a8911e46e9cc7242aff09b8fa61f210d185.tar jellything-ed2b5a8911e46e9cc7242aff09b8fa61f210d185.tar.bz2 jellything-ed2b5a8911e46e9cc7242aff09b8fa61f210d185.tar.zst |
asset api
Diffstat (limited to 'api.md')
-rw-r--r-- | api.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,11 +20,15 @@ Returns API version number. Request body contains JSON with keys `username` and `password`. The Response contains the session cookie. -## GET* `/api/library/<path...>` +## GET* `/api/node/<path...>` Request a library node (either a directory or item). See [`common/src/api.rs`](./common/src/api.rs) +## GET* `/api/assets/node/<path..>?<role>` + +Where `role` is one of `Backdrop` or `Poster`. Returns assets for a node. + ## GET* `/stream/<path..>?tracks=<track-ids>&webm=<bool>` Responds with the stream. |