feat: add getUser and getUsers endpoints
Feishin calls getUser during login to determine roles and folder access.
This commit is contained in:
1 parent
656020f5c1
commit
43e726628e
4 files changed
+104
-2
No files matched your search
@@ -547,6 +547,8 @@ For every `/rest/*` call (except an optional health check):
|
||||
- `getOpenSubsonicExtensions`: `[{formPost, [1]}, {songLyrics, [1]}, {transcodeOffset, [1]}]`.
|
||||
- `startScan`: admin only; starts an async coroutine scan.
|
||||
- `getScanStatus`: `{"scanStatus": {"scanning": Boolean, "count": Long}}`.
|
||||
- `getUser(username)`: returns roles and visible folder IDs; users may only query themselves, admins may query anyone.
|
||||
- `getUsers`: admin only; lists all configured users.
|
||||
|
||||
### 7.3 Browsing & search
|
||||
|
||||
|
||||
Reference in new issue
Block a user