feat(search): add ANONYMOUS_SEARCH to skip the login for a service

A service that sets the flag gets no cookie load, no authenticate() call and no cookie save on a search, on the CLI and in the REST search handler. /api/services reports it as anonymous_search.
This commit is contained in:
imSp4rky
2026-10-10 13:21:14 -06:00
parent 0cded6427f
commit 0a7c76561c
12 changed files with 121 additions and 13 deletions
+1
View File
@@ -150,6 +150,7 @@ curl "$BASE/api/services" \
"help": "EXAMPLE service documentation...",
"needs_auth": true,
"has_search": true,
"anonymous_search": false,
"has_drm": true,
"auth_methods": ["cookies", "credentials"],
"cli_params": []