MusicBrainz API/Search/UrlSearch: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
====Search Fields====
====Search Fields====
The [[URL]] index contains these fields you can search:
The [[URL]] index contains the following fields you can search
{| border="1" class="wikitable sortable"
{| border="1" class="wikitable sortable"
|-
|-
! Field !! Description
! Field !! Description
|-
|-
| relationtype || the type of a relationship attached to the URL
| relationtype || the type of a relationship the URL is in (e.g. "wikidata")
|-
|-
| targetid || the MBID of an entity related to the URL
| targetid || the MBID of an entity related to the URL
|-
|-
| targettype || an entity type related to the URL
| targettype || an entity type related to the URL (e.g. "artist")
|-
|-
| uid || the URL's MBID
| uid || the URL's MBID
|-
|-
| url || the URL itself
| url || the actual URL string
|-
| url_ancestor ||
|-
| url_descendent ||


|}
|}

Revision as of 15:06, 22 January 2021

Search Fields

The URL index contains the following fields you can search

Field Description
relationtype the type of a relationship the URL is in (e.g. "wikidata")
targetid the MBID of an entity related to the URL
targettype an entity type related to the URL (e.g. "artist")
uid the URL's MBID
url the actual URL string
url_ancestor
url_descendent