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

/ws/3 should consistently use "name" or "title", not both

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

      https://musicbrainz.org/ws/2/artist/1283f619-2789-4892-af46-29a13e5cca5b?fmt=json uses "name" to refer to the artist name.
      https://musicbrainz.org/ws/2/release-group/0c00792f-1022-4a23-8eb6-d1d94ca7564c?fmt=json uses "title" to refer to the release group name.

      The website uses "name" for both (http://beta.musicbrainz.org/artist/1283f619-2789-4892-af46-29a13e5cca5b/edit and https://musicbrainz.org/release-group/0c00792f-1022-4a23-8eb6-d1d94ca7564c/edit ), as does the database (artist.name which links to artist_name, release_group.name which links to release_name).

      It would be nice if entities were consistent. I'm guessing we can't change the XML WS and I dunno about the JSON one, but either way, if we can't, it would be nice if we can make it consistent when we do /ws/3.

          [MBS-5679] /ws/3 should consistently use "name" or "title", not both

          chaban made changes -
          Fix Version/s New: ws/3 [ 11119 ]
          Oliver Charles made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Summary Original: Webservice sometimes uses "name", sometimes uses "title" New: /ws/3 should consistently use "name" or "title", not both
          Freso made changes -
          Link New: This issue is related to MBS-3072 [ MBS-3072 ]
          nikki created issue -

            Unassigned Unassigned
            nikki nikki
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                Version Package
                ws/3