MusicBrainz API/Search/EventSearch: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
====Search Fields====
====Search Fields====
The [[Event|event]] index contains these fields you can search:
The [[Event]] index contains the following fields you can search
{| border="1" class="wikitable sortable"
{| border="1" class="wikitable sortable"
! Field !! Description
|-
|-
! Field !! Description
| alias || an alias attached to the event
|-
| alias || (part of) any [[Aliases|alias]] attached to the artist (diacritics are ignored)
|-
|-
| aid || the MBID of an area related to the event
| aid || the MBID of an area related to the event
|-
|-
| area || the name of an area related to the event
| area || (part of) the name of an area related to the event
|-
|-
| arid || the MBID of an artist related to the event
| arid || the MBID of an artist related to the event
|-
|-
| artist || the name of an artist related to the event
| artist || (part of) the name of an artist related to the event
|-
|-
| comment || the disambiguation comment for the event
| begin || the event's begin date (e.g. "1980-01-22")
|-
| comment || (part of) the artist's disambiguation comment
|-
| end || the event's end date (e.g. "1980-01-22")
|-
| ended || a boolean flag (true/false) indicating whether or not the event has an end date set
|-
|-
| eid || the MBID of the event
| eid || the MBID of the event
|-
|-
| event || the name of the event
| event || (part of) the event's name (diacritics are ignored)
|-
| eventaccent || (part of) the event's name (with the specified diacritics)
|-
|-
| pid || the MBID of a place related to the event
| pid || the MBID of a place related to the event
|-
|-
| place || the name of a place related to the event
| place || (part of) the name of a place related to the event
|-
|-
| type || the event's type
| tag || (part of) a tag attached to the event
|-
|-
| tag || a tag attached to the event
| type || the event's [[Event#Type|type]]
|}
|}


Query terms without a field specifier will search the <em>alias</em>, <em>artist</em> and <em>name</em> fields.
If you don't specify a field, the term will be searched for in the alias, artist and name fields.

Revision as of 11:24, 22 January 2021

Search Fields

The Event index contains the following fields you can search

Field Description
alias (part of) any alias attached to the artist (diacritics are ignored)
aid the MBID of an area related to the event
area (part of) the name of an area related to the event
arid the MBID of an artist related to the event
artist (part of) the name of an artist related to the event
begin the event's begin date (e.g. "1980-01-22")
comment (part of) the artist's disambiguation comment
end the event's end date (e.g. "1980-01-22")
ended a boolean flag (true/false) indicating whether or not the event has an end date set
eid the MBID of the event
event (part of) the event's name (diacritics are ignored)
eventaccent (part of) the event's name (with the specified diacritics)
pid the MBID of a place related to the event
place (part of) the name of a place related to the event
tag (part of) a tag attached to the event
type the event's type

If you don't specify a field, the term will be searched for in the alias, artist and name fields.