Post

Replies

Boosts

Views

Activity

Apple Music API: only get full Albums from user's library
If a user has only added one song from an album in its library, the library album endpoint (/me/library/albums) will return this album. It does not make sense because the user did not add the full album to its library, only one song. Note that the Apple Music app is doing the same in its Library > Albums section. How to retrieve only those albums which have been added ?
0
0
646
Jul ’23
Catalog relationships empty for /me/library/albums. How to reconcile ?
For some library records, the catalog relationships is empty in the response to request: /v1/me/library/albums?include=catalog The json will look like that: "catalog": { "href": "/v1/me/library/albums/l.mbhaBBs/catalog", "data": [] } The catalog relationship url (/v1/me/library/albums/l.mbhaBBs/catalog) will give: { "errors": [ { "id": "YS7BUVCTXA3QWDVX3YQQSCPEUY", "title": "No related resources", "detail": "No related resources found for catalog", "status": "404", "code": "40403" } ] } I am talking about an album that was added from the catalog in the first place. When it happens, removing the album from the library and adding it again using the Apple Music app, resolves the issue. Is there another way to force the library-album to reconcile with the catalog-album using the API itself ?
1
0
631
May ’23