releaseEntitySearch Query
Description
Finds artists or labels to credit on a release, as the release form does: those in Creators, the catalogue every shop shares, then those only on Discogs so far. Copy a result's id and discogsId into the release's artists or labels; one with no id is linked by its discogsId when saved. A name sent without either ID creates a new artist or label, so search first.
query releaseEntitySearch($term: String!, $type: ReleaseEntityType!) {
releaseEntitySearch(term: $term, type: $type) {
id
discogsId
name
image
country
description
}
}
Variables
{
"term": "term",
"type": "artist"
}
Response
{
"releaseEntitySearch": [
{
"id": "85aaebf7ca7e4895767e1b20",
"discogsId": 987654321,
"name": "example",
"image": "example",
"country": "example",
"description": "example"
}
]
}
Arguments
| Name | Type | Description |
|---|---|---|
term | String! | Name to search for. |
type | ReleaseEntityType! | Artists or labels. |