aboutsummaryrefslogtreecommitdiff
path: root/api.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-06-16 18:18:53 +0200
committermetamuffin <metamuffin@disroot.org>2023-06-16 18:18:53 +0200
commited2b5a8911e46e9cc7242aff09b8fa61f210d185 (patch)
tree72c071c0103b865d05516fa581be10342f0ad1f3 /api.md
parent846fe07c2d083fa1015a9ef55b440a83def6e8b8 (diff)
downloadjellything-ed2b5a8911e46e9cc7242aff09b8fa61f210d185.tar
jellything-ed2b5a8911e46e9cc7242aff09b8fa61f210d185.tar.bz2
jellything-ed2b5a8911e46e9cc7242aff09b8fa61f210d185.tar.zst
asset api
Diffstat (limited to 'api.md')
-rw-r--r--api.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/api.md b/api.md
index 91cb3e3..8fac72c 100644
--- a/api.md
+++ b/api.md
@@ -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.