Class MusicBrainz::Webservice::ArtistIncludes
In: lib/rbrainz/webservice/includes.rb
Parent: AbstractIncludes

A specification on how much data to return with an artist.

The MusicBrainz server only supports some combinations of release types for the releases and vaReleases include tags. At the moment, not more than two release types should be selected, while one of them has to be Release.TYPE_OFFICIAL, Release.TYPE_PROMOTION or Release.TYPE_BOOTLEG.

Methods

new  

Public Class methods

Includes is a hash with the following fields:

:aliases
Include aliases (boolean).
:release_groups
Include release groups (boolean).
:releases
Array of release types that should be included in the result. All releases of the artist that match all of those types will be included. Use the constants defined in Model::Release for the release types.
:va_releases
Array of release types. All various artist releases the artist appears on and that match all of those types will be included. Use the constants defined in Model::Release for the release types.
:artist_rels
Include artist relationships (boolean).
:release_rels
Include release relationships (boolean).
:track_rels
Include track relationships (boolean).
:label_rels
Include label relationships (boolean).
:url_rels
Include url relationships (boolean).
:counts
Includes the track number (boolean).
:release_events
Includes the release events (boolean).
:discs
Include the disc IDs (boolean).
:labels
Include the labels under which the release
:tags
Include tags (boolean).
:user_tags
Include user tags (boolean).
:ratings
Include ratings (boolean).
:user_ratings
Include user ratings (boolean).

[Validate]