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

Expose UUID of relationship attribute type

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2019-01-22
    • None
    • Web service
    • None

      Similarly to UUID of relationship type, UUID of relationship attribute type should be exposed.

      For instance, in https://musicbrainz.org/ws/2/work/24df0a9b-7977-4ff6-a4dc-7ad71db6972c?inc=work-rels

      attribute list should contain:

      <attribute type-id="4485dfdb-6000-4602-8b18-5f84e34d8aed">act</attribute>

      instead of:

      <attribute>act</attribute>

       

          [MBS-9470] Expose UUID of relationship attribute type

          Michael Wiencek added a comment - zastai , yes, it will be another separate object, e.g.  https://github.com/metabrainz/musicbrainz-server/blob/ece13cb/t/lib/t/MusicBrainz/Server/Controller/WS/2/JSON/LookupRelease.pm#L858

          How will this map to the json version?
          Will this be another separate list (attribute-ids?), as is the case for the value (attribute-values) and credited-as (attribute-credits) fields?

          Tim Van Holder added a comment - How will this map to the json version? Will this be another separate list (attribute-ids?), as is the case for the value (attribute-values) and credited-as (attribute-credits) fields?

            reosarevok Nicolás Tamargo
            yvanzo yvanzo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2019-01-22