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

From MusicBrainz Wiki
(Search Fields)
(Search Fields)
Line 36: Line 36:
 
|-
 
|-
 
|  mediums  ||  number of mediums in the release
 
|  mediums  ||  number of mediums in the release
 +
|-
 +
| primarytype || primary type of the release group (album, single, ep, other)
 
|-
 
|-
 
|  puid  ||  The release contains recordings with these puids  
 
|  puid  ||  The release contains recordings with these puids  
Line 48: Line 50:
 
|-
 
|-
 
|  script  ||  The [http://unicode.org/iso15924/iso15924-codes.html 4 character script code] (e.g. latn) used for this release  
 
|  script  ||  The [http://unicode.org/iso15924/iso15924-codes.html 4 character script code] (e.g. latn) used for this release  
 +
|-
 +
| secondarytype || secondary type of the release group (audiobook, compilation, interview, live, remix soundtrack, spokenword)
 
|-
 
|-
 
|  status  ||  release status (e.g official)  
 
|  status  ||  release status (e.g official)  
Line 54: Line 58:
 
|-
 
|-
 
|  tracksmedium  ||  number of tracks on a medium in the release  
 
|  tracksmedium  ||  number of tracks on a medium in the release  
|-
 
| primarytype || primary type of the release group (album, single, ep, other)
 
|-
 
| secondarytype || secondary type of the release group (audiobook, compilation, interview, live, remix soundtrack, spokenword)
 
 
|-
 
|-
 
| type || type of the release group, old type mapping for when we did not have separate primary and secondary types
 
| type || type of the release group, old type mapping for when we did not have separate primary and secondary types

Revision as of 07:57, 16 May 2012

Search Fields

The release index contains these fields you can search:

field Description
arid artist id
artist complete artist name(s) as it appears on the release
artistname an artist on the release, each artist added as a seperate field
asin the Amazon ASIN for this release
barcode The barcode of this release
catno The catalog number for this release, can have multiples when major using an imprint
comment Disambiguation comment
country The two letter country code for the release country
creditname name credit on the release, each artist added as a seperate field
date The release date (format: YYYY-MM-DD)
discids total number of cd ids over all mediums for the release
discidsmedium number of cd ids for the release on a medium in the release
format release format
label The name of the label for this release, can have multiples when major using an imprint
lang The language for this release. Use the three character ISO 639 codes to search for a specific language. (e.g. lang:eng)
mediums number of mediums in the release
primarytype primary type of the release group (album, single, ep, other)
puid The release contains recordings with these puids
reid release id
release release name
releaseaccent name of the release with any accent characters retained
rgid release group id
script The 4 character script code (e.g. latn) used for this release
secondarytype secondary type of the release group (audiobook, compilation, interview, live, remix soundtrack, spokenword)
status release status (e.g official)
tracks total number of tracks over all mediums on the release
tracksmedium number of tracks on a medium in the release
type type of the release group, old type mapping for when we did not have separate primary and secondary types

Release search terms with no fields search the release field only.