MusicBrainz API/Search/AreaSearch: Difference between revisions
From MusicBrainz Wiki
< MusicBrainz API | Search
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...") |
Reosarevok (talk | contribs) mNo edit summary |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
====Search Fields==== |
====Search Fields==== |
||
The |
The [[Area]] index contains the following fields you can search |
||
{| border="1" class="wikitable sortable" |
{| border="1" class="wikitable sortable" |
||
|- |
|- |
||
! Field !! Description |
|||
|- |
|- |
||
| aid || the area's MBID |
|||
| alias || the aliases/misspellings for this label |
|||
|- |
|- |
||
| alias || (part of) any [[Aliases|alias]] attached to the artist (diacritics are ignored) |
|||
| area || label area |
|||
|- |
|- |
||
| area || (part of) the area's name (diacritics are ignored) |
|||
| begin || label founding date |
|||
|- |
|- |
||
| areaaccent || (part of) the area's name (with the specified diacritics) |
|||
| code || label code (only the figures part, i.e. without "LC") |
|||
|- |
|- |
||
| begin || the area's begin date (e.g. "1980-01-22") |
|||
| comment || label comment to differentiate similar labels |
|||
|- |
|- |
||
| comment || (part of) the area's disambiguation comment |
|||
| 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 |
|||
|- |
|- |
||
| |
| end || the area's end date (e.g. "1980-01-22") |
||
|- |
|- |
||
| ended |
| ended || a boolean flag (true/false) indicating whether or not the area has ended (is no longer current) |
||
|- |
|- |
||
| iso || an [[wikipedia:ISO_3166|ISO 3166-1, 3166-2 or 3166-3]] code attached to the area |
|||
| ipi || ipi |
|||
|- |
|- |
||
| iso1 || an [[wikipedia:ISO_3166|ISO 3166-1]] code attached to the area |
|||
| label || label name |
|||
|- |
|- |
||
| iso2 || an [[wikipedia:ISO_3166|ISO 3166-2]] code attached to the area |
|||
| labelaccent || name of the label with any accent characters retained |
|||
|- |
|- |
||
| iso3 || an [[wikipedia:ISO_3166|ISO 3166-3]] code attached to the area |
|||
| laid || MBID of the label |
|||
|- |
|- |
||
| |
| sortname || equivalent to name (areas no longer have separate sort names) |
||
|- |
|- |
||
| tag || (part of) a tag attached to the area |
|||
| type || label type |
|||
|- |
|- |
||
| type || the area's [[Area#Type|type]] |
|||
| tag || folksonomy tag |
|||
|} |
|} |
||
If you don't specify a field, the terms will be searched for in the ''area'' field. |
|||
Label search terms with no fields specified search the label, sortname and alias fields. |
Latest revision as of 12:19, 22 January 2021
Search Fields
The Area index contains the following fields you can search
Field | Description |
---|---|
aid | the area's MBID |
alias | (part of) any alias attached to the artist (diacritics are ignored) |
area | (part of) the area's name (diacritics are ignored) |
areaaccent | (part of) the area's name (with the specified diacritics) |
begin | the area's begin date (e.g. "1980-01-22") |
comment | (part of) the area's disambiguation comment |
end | the area's end date (e.g. "1980-01-22") |
ended | a boolean flag (true/false) indicating whether or not the area has ended (is no longer current) |
iso | an ISO 3166-1, 3166-2 or 3166-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 | equivalent to name (areas no longer have separate sort names) |
tag | (part of) a tag attached to the area |
type | the area's type |
If you don't specify a field, the terms will be searched for in the area field.