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

JSON webservice uses different field names for artist credits on tracks vs. other places.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2012-12-24
    • 2012-12-10
    • Web service
    • None

      Normally the webservice returns artist credits named "artist-credit", like

      "artist-credit": [ ... ]
      

      but on tracks it returns them with an underscore instead:

      "artist_credit": [ ... ]
      

      And this is mightily confusing.

      See e.g. https://musicbrainz.org/ws/2/release/551b70a4-5ed7-4b92-99f0-d542283e118e?inc=artist-credits%2Blabels%2Bdiscids%2Brecordings%2Brelease-groups%2Bannotation&fmt=json

            warp Kuno Woudt
            kepstin Calvin Walton
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2012-12-24