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

From MusicBrainz Wiki
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
====Search Fields====
 
====Search Fields====
The [[Label|label]] index contains the following fields you can search:
+
The [[Label]] index contains the following fields you can search
 
{| border="1" class="wikitable sortable"
 
{| border="1" class="wikitable sortable"
 
|-
 
|-
 
! Field !! Description
 
! Field !! Description
 +
 +
|-
 +
| alias || (part of) any [[Aliases|alias]] attached to the label (diacritics are ignored)
 +
|-
 +
| area || (part of) the name of the label's main associated area
 
|-
 
|-
| alias  || the aliases/misspellings for this label  
+
| begin || the label's begin date (e.g. "1980-01-22")
 
|-
 
|-
| area  || label area
+
| code || the [[Label/Label_Code|label code]] for the label (only the numbers, without "LC")
 
|-
 
|-
| begin  || label founding date
+
| comment || (part of) the label's disambiguation comment
 
|-
 
|-
| code  || label code (only the figures part, i.e. without "LC")
+
| country || the 2-letter code (ISO 3166-1 alpha-2) for the label's associated country
 
|-
 
|-
| comment  || label comment to differentiate similar labels
+
| end || the label's end date (e.g. "1980-01-22")
 
|-
 
|-
| country  || The [https://www.iso.org/obp/ui/#search/code/ two letter country code] of the label country
+
| ended || a boolean flag (true/false) indicating whether or not the label has ended (is dissolved)
 
|-
 
|-
| end  || label dissolution date
+
| ipi || an IPI code associated with the label
 
|-
 
|-
| ended  || true if know ended even if do not know end date 
+
| isni || an ISNI code associated with the label
 
|-
 
|-
| ipi  || ipi
+
| label || (part of) the label's name (diacritics are ignored)
 
|-
 
|-
| label  || label name  
+
| labelaccent || (part of) the label's name (with the specified diacritics)
 
|-
 
|-
| labelaccent  || name of the label with any accent characters retained
+
| laid || the label's MBID
 
|-
 
|-
| laid || MBID of the label
+
| release_count || the amount of releases related to the label
 
|-
 
|-
| sortname || label sortname
+
| sortname || equivalent to name (labels no longer have separate sort names)
 
|-
 
|-
| type  || label type
+
| tag || (part of) a tag attached to the label
 
|-
 
|-
| tag  || folksonomy tag
+
| type || the label's [[Label/Type|type]]
 
|}
 
|}
  
Label search terms with no fields specified search the label, sortname and alias fields.
+
If you don't specify a field, the terms will be searched for in the ''alias'' and ''label'' fields.

Latest revision as of 12:20, 22 January 2021

Search Fields

The Label index contains the following fields you can search

Field Description
alias (part of) any alias attached to the label (diacritics are ignored)
area (part of) the name of the label's main associated area
begin the label's begin date (e.g. "1980-01-22")
code the label code for the label (only the numbers, without "LC")
comment (part of) the label's disambiguation comment
country the 2-letter code (ISO 3166-1 alpha-2) for the label's associated country
end the label's end date (e.g. "1980-01-22")
ended a boolean flag (true/false) indicating whether or not the label has ended (is dissolved)
ipi an IPI code associated with the label
isni an ISNI code associated with the label
label (part of) the label's name (diacritics are ignored)
labelaccent (part of) the label's name (with the specified diacritics)
laid the label's MBID
release_count the amount of releases related to the label
sortname equivalent to name (labels no longer have separate sort names)
tag (part of) a tag attached to the label
type the label's type

If you don't specify a field, the terms will be searched for in the alias and label fields.