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

From MusicBrainz Wiki
(Search Fields)
(Search Fields)
Line 19: Line 19:
 
| ended    || a flag indicating whether or not the area has ended
 
| ended    || a flag indicating whether or not the area has ended
 
|-
 
|-
| iso      || an ISO-3166-1/2/3 code attached to the area
+
| iso      || an ISO 3166-1/2/3 code attached to the area
 
|-
 
|-
| iso1    || an ISO-3166-1 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
+
| iso2    || an ISO 3166-2 code attached to the area
 
|-
 
|-
| iso3    || an ISO-3166-3 code attached to the area
+
| iso3    || an ISO 3166-3 code attached to the area
 
|-
 
|-
 
| sortname || the area's sort name
 
| sortname || the area's sort name
Line 32: Line 32:
 
|}
 
|}
  
Area search terms with no fields specified search the area and sortname fields.
+
Area search terms with no fields specified search the ''area'' and ''sortname'' fields.

Revision as of 16:20, 12 March 2017

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.