MusicBrainz API/Search/AreaSearch: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
Line 5: Line 5:
| '''field''' || '''Description'''
| '''field''' || '''Description'''
|-
|-
| aid || the area ID
| aid || the area's MBID
|-
|-
| alias || the aliases/misspellings for this area
| alias || an alias attached to the area
|-
|-
| area || area name
| area || the area's name
|-
|-
| begin || area begin date
| begin || the area's begin date
|-
|-
| comment || disambugation comment
| comment || the area's disambiguation comment
|-
|-
| end || area end date
| end || the area's end date
|-
|-
| ended || area ended
| ended || a flag indicating whether or not the area has ended
|-
|-
| sortname || area sort name
| sortname || the area's sort name
|-
|-
| iso || area iso1, iso2 or iso3 codes
| iso || an ISO-3166-1/2/3 code attached to the area
|-
|-
| iso1 || area iso1 codes
| iso1 || an ISO-3166-1 code attached to the area
|-
|-
| iso2 || area iso3 codes
| iso2 || an ISO-3166-2 code attached to the area
|-
|-
| iso3 || area iso3 codes
| iso3 || an ISO-3166-3 code attached to the area
|-
|-
| type || area type
| type || the area's type
|}
|}



Revision as of 15:56, 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
sortname the area's sort name
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
type the area's type

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