[mb-devel] A MusicBrainz Client Library for .NET

Philipp Wolfer phw at rubyforge.org
Mon Oct 22 14:30:45 UTC 2007


2007/10/19, Scott Peterson <lunchtimemama at gmail.com>:
> I've noticed that in requests of the form
> http://musicbrainz.org/ws/1/release/[MBID]?type=xml&inc=release-events+labels+[*-rels]
> , the resulting XML will contain relation data for the labels (if any). For
> example:

In theory the MusicBrainz XML schema allows unlimited nesting of
entities, so a release event can contain a label, which can contain
all information a label can contain everywhere else [1]. I practice
this is restricted by the webservice interface and not every
combination is really returned by the server.

But in this case the inc parameter for releases allows
"release-events", "labels" and "label-rels"[2], which will result in
the behavior you described.

[1] http://bugs.musicbrainz.org/browser/mmd-schema/trunk/schema
[2] http://musicbrainz.org/doc/XMLWebService

-- 
Philipp Wolfer



More information about the MusicBrainz-devel mailing list