MusicBrainz API/Search/AnnotationSearch: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(add link, testing wikidocs)
No edit summary
 
(5 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

|-
|-
| entity || the annotated entity's MBID
| text || The content of the annotation
|-
|-
| id || the numeric ID of the annotation (e.g. [https://musicbrainz.org/artist/c130b0fb-5dce-449d-9f40-1437f889f7fe/annotation/703027 703027])
| type || The entity type (artist, releasegroup, release, recording, work, label)
|-
|-
| name || The name of the entity
| name || the annotated entity's name or title (diacritics are ignored)
|-
|-
| text || the annotation's content (includes [[Annotation#Wiki_formatting|wiki formatting]])
| entity || The entity's MBID
|-
| 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.