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

JSON output has no ordering key attribute for release group series

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2016-01-25
    • None
    • Web service
    • None

      Ordering key is appearing in xml output but not on the json one.

      https://musicbrainz.org/ws/2/release-group/7907d419-a1fc-4c35-b30a-0d4e4833466c?inc=series-rels&fmt=xml:

      <metadata>
          <release-group type="Compilation" id="7907d419-a1fc-4c35-b30a-0d4e4833466c">
              <title>&#x30A8;&#x30F3;&#x30AB;&#x306E;&#x30C1;&#x30AB;&#x30E9; GREAT 80&#x2019;s</title>
              <first-release-date>2009-04-22</first-release-date>
              <primary-type>Album</primary-type>
              <secondary-type-list>
                  <secondary-type>Compilation</secondary-type>
              </secondary-type-list>
              <relation-list target-type="series">
                  <relation type-id="01018437-91d8-36b9-bf89-3f885d53b5bd" type="part of">
                      <target>fd565848-7c48-47ab-b623-4dc91d1ce88d</target>
                      <ordering-key>4</ordering-key>
                      <series type="Release group" id="fd565848-7c48-47ab-b623-4dc91d1ce88d">
                          <name>&#x30A8;&#x30F3;&#x30AB;&#x306E;&#x30C1;&#x30AB;&#x30E9;</name>
                      </series>
                  </relation>
              </relation-list>
          </release-group>
      </metadata>
      

      https://musicbrainz.org/ws/2/release-group/7907d419-a1fc-4c35-b30a-0d4e4833466c?inc=series-rels&fmt=json

      {
      
          "disambiguation": "",
          "first-release-date": "2009-04-22",
          "relations": 
      
      [
      
      {
      
          "type-id": "01018437-91d8-36b9-bf89-3f885d53b5bd",
          "series": 
      
              {
                  "disambiguation": "",
                  "relations": [ ],
                  "name": "エンカのチカラ",
                  "id": "fd565848-7c48-47ab-b623-4dc91d1ce88d"
              },
              "attribute-values": { },
              "end": null,
              "direction": "forward",
              "ended": false,
              "type": "part of",
              "begin": null,
              "attributes": [ ]
          }
      
      ],
      "secondary-types": 
      
          [
              "Compilation"
          ],
          "id": "7907d419-a1fc-4c35-b30a-0d4e4833466c",
          "title": "エンカのチカラ GREAT 80's",
          "primary-type": "Album"
      
      }
      

            bitmap Michael Wiencek
            zas Zas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2016-01-25