New POST /api/v1/request endpoint accepts a search query from external sources (Discord bots, Home Assistant, curl) and triggers the search-match-download pipeline asynchronously. Returns a request_id for status polling via GET /api/v1/request/<id>. Optional notify_url for callback on completion. Also adds webhook_received trigger type and search_and_download action type to the automation engine, so users can build custom flows like "when webhook received → search & download → notify Discord". Includes info panel in Settings showing endpoint URL and curl example. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auth.py | ||
| cache.py | ||
| discover.py | ||
| downloads.py | ||
| helpers.py | ||
| library.py | ||
| listenbrainz.py | ||
| playlists.py | ||
| profiles.py | ||
| request.py | ||
| retag.py | ||
| search.py | ||
| serializers.py | ||
| settings.py | ||
| system.py | ||
| watchlist.py | ||
| wishlist.py | ||