From ed2b5a8911e46e9cc7242aff09b8fa61f210d185 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 16 Jun 2023 18:18:53 +0200 Subject: asset api --- api.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'api.md') 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/` +## GET* `/api/node/` Request a library node (either a directory or item). See [`common/src/api.rs`](./common/src/api.rs) +## GET* `/api/assets/node/?` + +Where `role` is one of `Backdrop` or `Poster`. Returns assets for a node. + ## GET* `/stream/?tracks=&webm=` Responds with the stream. -- cgit v1.2.3-70-g09d2