Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-9829

Group data more reasonably for JSON ws/3

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: ws/3
    • Component/s: Web service
    • Labels:
      None

      Description

      Due to what I assume are compatibility issues, the JSON ws/2 returns things in somewhat unusual ways. For example, https://musicbrainz.org/ws/2/release/c62d1506-9e8c-447c-88de-e3feee7da8ae?fmt=json has

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

      It would be much more sensible to provide this as {... "packaging": {"id":"119eba76-b343-3e02-a292-f0f00644bb9b", "name":"None"} ...}. The same applies to many other ids and to things like attribute values, which are stored as { "attribute-values": { "attributename": "value } } rather than as part of an attribute object each.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              reosarevok Nicolás Tamargo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                ws/3