Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-579

'packaging' (name/MBID) is not flattened in JSON release search results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • mb-solr-3.3
    • None
    • Response Writer
    • None

      MusicBrainz Web Service outputs release packaging MBID under 'packaging-id' key in JSON format. MB Solr search server should use the same format to preserve backward-compatibility.

      In JSON terms, packaging returned in release search results should change from:

      "packaging":{
          "id":"119eba76-b343-3e02-a292-f0f00644bb9b",
          "name":"None"
      }
      

      to:

      "packaging-id":"119eba76-b343-3e02-a292-f0f00644bb9b",
      "packaging":"None"
      

      It indeed is an active API break, but this piece is not known to be widely used at the moment. Since MB API clients are more often correctly handling lookup/browse results, they are most likely already able to handle both packaging formats in release search results (MusicBrainz Server has been updated to handle both already), or at worse the potential rare API clients querying release search only have been given a month to handle them.

            kartik1712 amCap1712
            yvanzo yvanzo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package
                mb-solr-3.3