feat: report download status in the mood detail
CI / chart (push) Successful in 2s
CI / test (push) Successful in 3m32s
CI / chart-push (push) Successful in 10s
CI / image (push) Successful in 3m59s

The client can show a per-track Downloading/Added/Failed state in search
instead of relying on a snackbar under the keyboard.
This commit is contained in:
TapTap committed 2026-11-17 16:43:20 +00:00
1 parent de1e95bfc6
commit 6763a83b03
4 files changed
+35 -4

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ Media URLs may use `?token=` because HTML audio and images cannot send headers.
|---|---|---|
| `GET` | `/moods` | List the user's moods |
| `POST` | `/moods` | Create `{name,description,query,genres,source,collectionPercent,recommendationCount,refreshHours}` |
| `GET` | `/moods/{id}` | Mood detail: songs and active recommendations |
| `GET` | `/moods/{id}` | Mood detail: songs, active recommendations and download status |
| `PATCH` | `/moods/{id}` | Update options |
| `DELETE` | `/moods/{id}` | Delete mood, detach songs and run GC |
| `GET` | `/moods/{id}/preview` | Unpersisted radio preview |