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

Group data more reasonably for JSON ws/3

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • ws/3
    • None
    • Web service
    • None

      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.

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

              Created:
              Updated:

                Version Package
                ws/3