Where are the track names?

Tags: #<Tag:0x00007f419f7522d0> #<Tag:0x00007f419f7521e0>

I have been through the documentation several times and I just cannot find how to query the database and get the human-readable track names; i.e. for the album 90125, to get “Owner of a Lonely Heart” for the first track. The URL “https://musicbrainz.org/ws/2/discid/RZUdw.JG9IhzAa5jyGXCpzai_GQ-” brings up the info for the disc, but nowhere can I see anything related to track names.
Thanks.

if you look at the response collapsed, you’ll see

<release-list count="6">
<release id="71b9b19d-b007-4258-96d8-c2617d767fea">
</release>
<release id="197192c2-e95d-3405-904b-25e314ae1a40">
</release>
<release id="8be613dc-5964-3dc0-9802-71c4eeccb125">
</release>
<release id="a3ac4147-4c0d-3fe3-a5b4-115b2a5ea9a7">
</release>
<release id="87bcf2eb-d1b6-362b-bca6-3945b655af1e">
</release>
<release id="f78f48ef-78bb-45b5-a63b-cb6600db9fb8">
</release>
</release-list>

each of those releases contains a track listing, for example, the first one returns the following when following the url pattern from the api example

<track-list count="9" offset="0">
<track id="af2fdecd-3916-353b-b414-3d4f83a4bfba">
</track>
<track id="7a9f3863-829a-3c02-9423-c326ee3604d3">
</track>
<track id="be054c51-849a-374b-b44b-00b922e61848">
</track>
<track id="39296236-5e06-35f2-aa98-b1b7ce5397ab">
</track>
<track id="9a720dc9-5e24-3638-8216-97355d157f25">
</track>
<track id="90a01607-395c-38f3-8f26-23fce41cd11d">
</track>
<track id="608614dd-6cef-320f-b499-9e5465e621b7">
</track>
<track id="ae83dbfe-67cd-32f0-b854-38f9b1ab5617">
</track>
<track id="57e2924d-4cff-357f-9279-f07acf542e7d">
</track>
</track-list>

and inside each of those is track info

2 Likes

Thank you! That made it plain. Much better understanding now.

2 Likes

If you add these inc=artist-credits+labels+recordings includes to your original /ws/2/discid/ URL, you will even obtain everything in one query:

https://musicbrainz.org/ws/2/discid/RZUdw.JG9IhzAa5jyGXCpzai_GQ-?inc=artist-credits+labels+recordings

1 Like