Difference between revisions of "MusicBrainz API/Search/UrlSearch"
From MusicBrainz Wiki
< MusicBrainz API | Search
Reosarevok (talk | contribs) |
Reosarevok (talk | contribs) |
||
Line 15: | Line 15: | ||
| url || the actual URL string | | url || the actual URL string | ||
|- | |- | ||
− | | url_ancestor || | + | | 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 || | + | | 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") |
|} | |} |
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") |