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

From MusicBrainz Wiki
(Search Fields)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
====Search Fields====
 
====Search Fields====
The [[Annotation|annotation]] index contains the following fields you can search:
+
The [[Annotation]] index contains the following fields you can search
 
{| border="1" class="wikitable sortable"
 
{| border="1" class="wikitable sortable"
 
|-
 
|-
! Field !! Description
+
! Field !! Description
 +
 
 
|-
 
|-
| name || The annotated entity's name or title
+
| entity || the annotated entity's MBID
 
|-
 
|-
| entity || The annotated entity's MBID
+
| id || the numeric ID of the annotation (e.g. [https://musicbrainz.org/artist/c130b0fb-5dce-449d-9f40-1437f889f7fe/annotation/703027 703027])
 
|-
 
|-
| text || The annotation's content (includes wiki formatting)
+
| name || the annotated entity's name or title (diacritics are ignored)
 
|-
 
|-
| type || The annotated entity's entity type
+
| text || the annotation's content (includes [[Annotation#Wiki_formatting|wiki formatting]])
 +
|-
 +
| type || the annotated entity's entity type
 
|}
 
|}
 +
 +
If you don't specify a field, the terms will be searched for in the ''name'', ''text'' and ''type'' fields.

Latest revision as of 14:43, 22 January 2021

Search Fields

The Annotation index contains the following fields you can search

Field Description
entity the annotated entity's MBID
id the numeric ID of the annotation (e.g. 703027)
name the annotated entity's name or title (diacritics are ignored)
text the annotation's content (includes wiki formatting)
type the annotated entity's entity type

If you don't specify a field, the terms will be searched for in the name, text and type fields.