• Type: Bug
    • Resolution: Unresolved
    • Priority: Normal
    • None
    • Affects Version/s: None
    • Component/s: Schema
    • None

      Using this query for search

      tid:\"c63b7e96\\-928c\\-48dd\\-b558\\-a181cb245cb6\"(arid:(\"3569c2ed\\-2315\\-40d9\\-b041\\-3c48dae1be43\") OR arid:(\"3569c2ed\\-2315\\-40d9\\-b041\\-3c48dae1be43\")) AND reid:\"cbc89dff\\-3555\\-498c\\-bb1e\\-2ff983b13e59\
      

      Results in this URL

      https://musicbrainz.org/ws/2/recording/?query=tid%3A%22c63b7e96%5C-928c%5C-48dd%5C-b558%5C-a181cb245cb6%22%28arid%3A%28%223569c2ed%5C-2315%5C-40d9%5C-b041%5C-3c48dae1be43%22%29+OR+arid%3A%28%223569c2ed%5C-2315%5C-40d9%5C-b041%5C-3c48dae1be43%22%29%29+AND+reid%3A%22cbc89dff%5C-3555%5C-498c%5C-bb1e%5C-2ff983b13e59%22&fmt=json

      The json results (search.json attachment) have recordings[0].releases[0].media[0].track }}as an array which seems consistent with the json result shown for recording results{{ in the docs.

       

      However, when doing a lookup for that same recording

      https://musicbrainz.org/ws/2/recording/f0443b71-044e-4d6e-a454-11ab0d925d47?inc=releases+media&fmt=json

      The result (recording-lookup.json) has releases[0].media[0].tracks as an array.

      To make it clear:

      • On search, it's media.track
      • On lookup, it's media.tracks (plural)

      Are these supposed to be different? Or is one supposed to be correct?

      This came up as an issue for a MB api library, here https://github.com/Borewit/musicbrainz-api/pull/1188

      Thanks for you time.
       

        1. recording-lookup.json
          1 kB
          FoxxMD
        2. search.json
          7 kB
          FoxxMD

            Assignee:
            Borewit
            Reporter:
            FoxxMD
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package