MusicBrainz API/Search/AreaSearch: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(Created page with "====Search Fields==== The area index contains the following fields you can search: {| border="1" class="wikitable sortable" |- | '''field''' || '''Description''' |- | al...")
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
====Search Fields====
====Search Fields====
The area index contains the following fields you can search:
The [[Area|area]] index contains the following fields you can search:
{| border="1" class="wikitable sortable"
{| border="1" class="wikitable sortable"
|-
|-
| '''field''' || '''Description'''
! Field !! Description
|-
|-
| alias || the aliases/misspellings for this label
| aid || the area's MBID
|-
|-
| area || label area
| alias || an alias attached to the area
|-
|-
| begin || label founding date
| area || the area's name
|-
|-
| begin || the area's begin date
| code || label code (only the figures part, i.e. without "LC")
|-
|-
| comment || label comment to differentiate similar labels
| comment || the area's disambiguation comment
|-
|-
| end || the area's end date
| country || The [http://www.iso.org/iso/home/standards/country_codes/iso-3166-1_decoding_table.htm two letter country code] of the label country
|-
|-
| ended || a flag indicating whether or not the area has ended
| end || label dissolution date
|-
|-
| iso || an ISO 3166-1/2/3 code attached to the area
| ended || true if know ended even if do not know end date
|-
|-
| iso1 || an ISO 3166-1 code attached to the area
| ipi || ipi
|-
|-
| iso2 || an ISO 3166-2 code attached to the area
| label || label name
|-
|-
| iso3 || an ISO 3166-3 code attached to the area
| labelaccent || name of the label with any accent characters retained
|-
|-
| laid || MBID of the label
| sortname || the area's sort name
|-
|-
| sortname || label sortname
| type || the area's type
|-
| type || label type
|-
| tag || folksonomy tag
|}
|}


Label search terms with no fields specified search the label, sortname and alias fields.
Area search terms with no fields specified search the ''area'' and ''sortname'' fields.

Revision as of 00:06, 8 July 2020

Search Fields

The area index contains the following fields you can search:

Field Description
aid the area's MBID
alias an alias attached to the area
area the area's name
begin the area's begin date
comment the area's disambiguation comment
end the area's end date
ended a flag indicating whether or not the area has ended
iso an ISO 3166-1/2/3 code attached to the area
iso1 an ISO 3166-1 code attached to the area
iso2 an ISO 3166-2 code attached to the area
iso3 an ISO 3166-3 code attached to the area
sortname the area's sort name
type the area's type

Area search terms with no fields specified search the area and sortname fields.