MusicBrainz API/Search/AreaSearch: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
Line 3: Line 3:
{| border="1" class="wikitable sortable"
{| border="1" class="wikitable sortable"
|-
|-
! Field !! Description
! Field !! Description
|-
|-
| aid || the area's MBID
| aid || the area's MBID
|-
|-
| alias || an alias attached to the area
| alias || an alias attached to the area
|-
|-
| area || the area's name
| area || the area's name
|-
|-
| begin || the area's begin date
| begin || the area's begin date
|-
|-
| comment || the area's disambiguation comment
| comment || the area's disambiguation comment
|-
|-
| end || the area's end date
| end || the area's end date
|-
|-
| 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
| 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
|-
|-
| 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
|-
|-
| sortname || the area's sort name
| iso3 || an ISO-3166-3 code attached to the area
|-
|-
| type || the area's type
| type || the area's type
|}
|}



Revision as of 16:03, 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.