MusicBrainz API/Search/UrlSearch: Difference between revisions
From MusicBrainz Wiki
< MusicBrainz API | Search
Jump to navigationJump to search
Reosarevok (talk | contribs) No edit summary |
Reosarevok (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
| url || the actual URL string |
| 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_ancestor || the actual URL string, but also returns any ancestor paths (e.g. "<nowiki>https://example.org/some/stuff</nowiki>" will match "<nowiki>https://example.org/some</nowiki>") |
||
|- |
|- |
||
| 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") |
| url_descendent || the actual URL string, but also returns any descendant paths (e.g. "<nowiki>https://example.org/some/stuff</nowiki>" will match "<nowiki>https://example.org/some/stuff/here</nowiki>") |
||
|} |
|} |
Latest revision as of 17:57, 27 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 | 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") |