MusicBrainz API/Search/UrlSearch

From MusicBrainz Wiki
< MusicBrainz API‎ | Search
Revision as of 17:57, 27 January 2021 by Reosarevok (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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 the actual URL string, but also returns any ancestor paths (e.g. "https://example.org/some/stuff" will match "https://example.org/some")
url_descendent the actual URL string, but also returns any descendant paths (e.g. "https://example.org/some/stuff" will match "https://example.org/some/stuff/here")