The ArtistWithAlbumsID3 response is an extension of the ArtistID3 format that includes an array of AlbumID3 objects. This format is used to provide detailed information about an artist along with their associated albums.
OpenSubsonic vs. Subsonic Differences
When implementing or consuming this response, note that OpenSubsonic adds several specific fields. If a server supports these fields, it must return them (even with empty or default values) so clients can detect support. These additional fields are optional from a schema perspective but required for feature detection.
OpenSubsonic specific fields:
musicBrainzId: The artist's MusicBrainzID.sortName: The artist's sort name.roles: A list of all roles this artist has in the library (e.g., artist, albumartist, composer).
{
"id": "37ec820ca7193e17040c98f7da7c4b51",
"name": "2 Mello",
"coverArt": "ar-37ec820ca7193e17040c98f7da7c4b51_0",
"albumCount": 1,
"userRating": 5,
"artistImageUrl": "https://demo.org/image.jpg",
"starred": "2017-04-11T10:42:50.842Z",
"musicBrainzId": "189002e7-3285-4e2e-92a3-7f6c30d407a2",
"sortName": "Mello (2)",
"roles": [
"artist",
"albumartist",
"composer"
],
"album": [
{
"id": "200000002",
"parent": "100000002",
"album": "Colorsmoke EP",
"title": "Colorsmoke EP",
"name": "Colorsmoke EP",
"isDir": true,
"coverArt": "al-200000002",
"songCount": 12,
"created": "2021-02-23T04:24:48+00:00",
"duration": 4568,
"playCount": 1,
"artistId": "100000002",
"artist": "Synthetic",
"year": 2007,
"genre": "Electronic",
"userRating": 5,
"averageRating": 3,
"starred": "2021-02-22T05:51:53Z"
}
]
}