feat(award): backend V2 commands for /award/page and /award/getAlbums
Backend plumbing for Phase 3 AwardView. New endpoints:
- v2_get_award_page(awardId) → hero + categorized releases
- v2_get_award_albums(awardId, …) → paginated album list
Mirrors Android's AwardDto shape (id, name, image, awarded_at,
magazine, releases, playlists). Follows the label/page pattern for
signing and error handling. Deserializer accepts the V2 generic
{has_more, items} envelope as well as the legacy search-style
{albums: {items, total}} in case Qobuz swaps shapes per account.
cc
This commit is contained in:
7 files changed
+174
-3
No files matched your search
@@ -71,6 +71,11 @@ pub use types::{
|
||||
LabelPageContainer,
|
||||
LabelPageData,
|
||||
LabelPageGenericList,
|
||||
// Award page types
|
||||
AwardMagazine,
|
||||
AwardPageContainer,
|
||||
AwardPageData,
|
||||
AwardPageGenericList,
|
||||
// Artist page types
|
||||
PageArtistAward,
|
||||
PageArtistBiography,
|
||||
|
||||
Reference in new issue
Block a user