Difference between revisions of "MusicBrainz API/Search/ReleaseXmlOutput"

From MusicBrainz Wiki
(New page: ====Xml==== <pre><nowiki> <metadata xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ext="http://musicbrainz.org/ns/ext#-2.0"> <release-list offset="0" count="1"> <release id="...)
 
(Xml: Updated with the results for the sample query)
Line 1: Line 1:
 
====Xml====
 
====Xml====
 
<pre><nowiki>
 
<pre><nowiki>
<metadata xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ext="http://musicbrainz.org/ns/ext#-2.0">
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <release-list offset="0" count="1">
+
<metadata created="2017-03-12T17:20:00.235Z" xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ext="http://musicbrainz.org/ns/ext#-2.0">
        <release id="9ab1b03e-6722-4ab8-bc7f-a8722f0d34c1" ext:score="100">
+
  <release-list count="1" offset="0">
            <title>Fred Schneider &amp; The Shake Society</title>
+
    <release id="62d1c4ef-fc00-37af-8df7-485f6a31fcc4" ext:score="100">
            <status>official</status>
+
      <title>Fred Schneider &amp; The Shake Society</title>
            <text-representation>
+
      <status>Official</status>
                <language>eng</language>
+
      <packaging>Cardboard/Paper Sleeve</packaging>
                <script>latn</script>
+
      <text-representation>
            </text-representation>
+
        <language>eng</language>
            <artist-credit>
+
        <script>Latn</script>
                <name-credit>
+
      </text-representation>
                    <artist id="43bcca8b-9edc-4997-8343-122350e790bf">
+
      <artist-credit>
                      <name>Fred Schneider</name>
+
        <name-credit>
                      <sort-name>Schneider, Fred</sort-name>
+
          <artist id="43bcca8b-9edc-4997-8343-122350e790bf">
                    </artist>
+
            <name>Fred Schneider</name>
                </name-credit>
+
            <sort-name>Schneider, Fred</sort-name>
            </artist-credit>
+
            <alias-list>
            <release-group type="Album"/>
+
              <alias sort-name="Schneider, Frederick William" type="Legal name">Frederick William Schneider</alias>
            <date>1991-04-30</date>
+
              <alias sort-name="Fred Schneider &amp; the Shake Society">Fred Schneider &amp; the Shake Society</alias>
             <country>us</country>
+
            </alias-list>
             <barcode>075992659222</barcode>
+
          </artist>
             <asin>075992659222</asin>
+
        </name-credit>
             <label-info-list>
+
      </artist-credit>
                <label-info>
+
      <release-group id="0ef97d52-3f00-31bf-8413-f83ccb362675" type="Album">
                    <catalog-number>9 26592-2</catalog-number>
+
        <primary-type>Album</primary-type>
                    <label>
+
      </release-group>
                        <name>Reprise Records</name>
+
      <date>1984</date>
                    </label>
+
      <country>US</country>
                </label-info>
+
      <release-event-list>
            </label-info-list>
+
        <release-event>
            <medium-list>
+
          <date>1984</date>
                <medium><format>cd</format>
+
          <area id="489ce91b-6658-3307-9877-795b68554c98">
                    <disc-list count="2"/>
+
             <name>United States</name>
                    <track-list count="9"/>
+
             <sort-name>United States</sort-name>
                </medium>
+
             <iso-3166-1-code-list>
            </medium-list>
+
              <iso-3166-1-code>US</iso-3166-1-code>
        </release>
+
             </iso-3166-1-code-list>
    </release-list>
+
          </area>
 +
        </release-event>
 +
      </release-event-list>
 +
      <barcode>07599251581</barcode>
 +
      <label-info-list>
 +
        <label-info>
 +
          <catalog-number>1-25158</catalog-number>
 +
          <label id="c595c289-47ce-4fba-b999-b87503e8cb71">
 +
            <name>Warner Bros. Records</name>
 +
          </label>
 +
        </label-info>
 +
      </label-info-list>
 +
      <medium-list count="1">
 +
        <track-count>9</track-count>
 +
        <medium>
 +
          <format>12" Vinyl</format>
 +
          <disc-list count="0"/>
 +
          <track-list count="9"/>
 +
        </medium>
 +
      </medium-list>
 +
    </release>
 +
  </release-list>
 
</metadata>
 
</metadata>
 
</nowiki></pre>
 
</nowiki></pre>

Revision as of 18:11, 12 March 2017

Xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<metadata created="2017-03-12T17:20:00.235Z" xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ext="http://musicbrainz.org/ns/ext#-2.0">
  <release-list count="1" offset="0">
    <release id="62d1c4ef-fc00-37af-8df7-485f6a31fcc4" ext:score="100">
      <title>Fred Schneider & The Shake Society</title>
      <status>Official</status>
      <packaging>Cardboard/Paper Sleeve</packaging>
      <text-representation>
        <language>eng</language>
        <script>Latn</script>
      </text-representation>
      <artist-credit>
        <name-credit>
          <artist id="43bcca8b-9edc-4997-8343-122350e790bf">
            <name>Fred Schneider</name>
            <sort-name>Schneider, Fred</sort-name>
            <alias-list>
              <alias sort-name="Schneider, Frederick William" type="Legal name">Frederick William Schneider</alias>
              <alias sort-name="Fred Schneider & the Shake Society">Fred Schneider & the Shake Society</alias>
            </alias-list>
          </artist>
        </name-credit>
      </artist-credit>
      <release-group id="0ef97d52-3f00-31bf-8413-f83ccb362675" type="Album">
        <primary-type>Album</primary-type>
      </release-group>
      <date>1984</date>
      <country>US</country>
      <release-event-list>
        <release-event>
          <date>1984</date>
          <area id="489ce91b-6658-3307-9877-795b68554c98">
            <name>United States</name>
            <sort-name>United States</sort-name>
            <iso-3166-1-code-list>
              <iso-3166-1-code>US</iso-3166-1-code>
            </iso-3166-1-code-list>
          </area>
        </release-event>
      </release-event-list>
      <barcode>07599251581</barcode>
      <label-info-list>
        <label-info>
          <catalog-number>1-25158</catalog-number>
          <label id="c595c289-47ce-4fba-b999-b87503e8cb71">
            <name>Warner Bros. Records</name>
          </label>
        </label-info>
      </label-info-list>
      <medium-list count="1">
        <track-count>9</track-count>
        <medium>
          <format>12" Vinyl</format>
          <disc-list count="0"/>
          <track-list count="9"/>
        </medium>
      </medium-list>
    </release>
  </release-list>
</metadata>