inc params question

View: New views
3 Messages — Rating Filter:   Alert me  

inc params question

by Bob Faist-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to test various "inc" parameters on an artist MBID query but a few do not work.  I'm not sure if I am just picking MBID values which do not have this data or something else is going on.

Here are the inc params that never return an extra data for me.

label-rels
counts
release-events
discs
labels

According to the wiki (http://wiki.musicbrainz.org/XMLWebService), these are valid.

Example:
http://musicbrainz.org/ws/1/artist/65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab?type=xml&inc=discs+counts+release-events+label-rels+labels
_______________________________________________
MusicBrainz-devel mailing list
MusicBrainz-devel@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel

Re: inc params question

by Bugzilla from lalinsky@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Sep 3, 2009 at 4:47 AM, Bob Faist<bob.faist@...> wrote:

> I am trying to test various "inc" parameters on an artist MBID query but a
> few do not work.  I'm not sure if I am just picking MBID values which do not
> have this data or something else is going on.
>
> Here are the inc params that never return an extra data for me.
>
> label-rels
> counts
> release-events
> discs
> labels

What you are listing here are release 'inc' arguments (label-rels is
valid for artists, but there are rarely any data). See
http://wiki.musicbrainz.org/XMLWebService#artist_resources for inc
arguments that can be used on artists.

--
Lukas Lalinsky
lalinsky@...

_______________________________________________
MusicBrainz-devel mailing list
MusicBrainz-devel@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel

Re: inc params question

by Aurélien Mino-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



2009/9/3 Lukáš Lalinský <lalinsky@...>
On Thu, Sep 3, 2009 at 4:47 AM, Bob Faist<bob.faist@...> wrote:
> I am trying to test various "inc" parameters on an artist MBID query but a
> few do not work.  I'm not sure if I am just picking MBID values which do not
> have this data or something else is going on.
>
> Here are the inc params that never return an extra data for me.
>
> label-rels
> counts
> release-events
> discs
> labels

What you are listing here are release 'inc' arguments (label-rels is
valid for artists, but there are rarely any data).

These 'inc' arguments are valid the artist resource, but are only useful if you request releases data for your artist (using the 'sa-*' or 'va-*' 'inc' arguments).

Example (I've just appended '+sa-Official' to yours'):
http://musicbrainz.org/ws/1/artist/65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab?type=xml&inc=discs+counts+release-events+label-rels+labels+sa-Official

- Aurélien

_______________________________________________
MusicBrainz-devel mailing list
MusicBrainz-devel@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel