Class MusicBrainz::Webservice::ReleaseGroupFilter
In: lib/rbrainz/webservice/filter.rb
Parent: AbstractFilter

A filter for the release group collection.

Methods

new  

Public Class methods

The parameter filter is a hash with filter options. At least one filter despite :limit and :offset must be specified.

Available filter options:

:title
Fetch a list of release groups with a matching title.
:artist
The returned release groups should match the given artist name.
:artistid
The returned releasegroups should match the given artist ID (36 character ASCII representation). If this is given, the artist parameter is ignored.
:releasetypes
The returned release groups must match all of the given release types. This is either an array of release types as defined in Model::ReleaseGroup or a string of space separated values like Official, Bootleg, Album, Compilation etc.
:limit
The maximum number of release groups returned. Defaults to 25, the maximum allowed value is 100.
:offset
Return search results starting at a given offset. Used for paging through more than one page of results.
:query
A Lucene search query. The query parameter is a search string which will be passed to the underlying Lucene search engine. It must follow the syntax described in musicbrainz.org/doc/TextSearchSyntax.

[Validate]