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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: mb-solr-3.3
    • Component/s: Query Writer
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:

                Packages

                Version Package
                mb-solr-3.3