Skip to main content
GET
Retrieves the collection of Artist resources.

Authorizations

Authorization
string
header
required

API token authentication

Query Parameters

page
integer
default:1

The collection page number

name
string

Artist name

name[]
string[]

Artist name

type
string

Artist type

q
string

Artist q

bornAfter
string

Keep artists whose begin date (birth for people, formation for groups) is on or after this partial date (YYYY, YYYY-MM or YYYY-MM-DD). Inclusive. Artists without a begin date are excluded.

Pattern: ^\d{4}(-\d{2}(-\d{2})?)?$
bornBefore
string

Keep artists whose begin date is on or before this partial date. Inclusive to the end of the period, so bornBefore=1950 still matches an artist born on 1950-12-31. Artists without a begin date are excluded.

Pattern: ^\d{4}(-\d{2}(-\d{2})?)?$
diedAfter
string

Keep artists whose end date (death for people, dissolution for groups) is on or after this partial date. Inclusive. Artists without an end date are excluded.

Pattern: ^\d{4}(-\d{2}(-\d{2})?)?$
diedBefore
string

Keep artists whose end date is on or before this partial date. Inclusive to the end of the period. Artists without an end date are excluded.

Pattern: ^\d{4}(-\d{2}(-\d{2})?)?$
order[beginDateSort]
enum<string>

Sort chronologically by begin date (birth / formation). Artists without a begin date sort first in ascending order (last in descending). Ignored when combined with q.

Available options:
asc,
desc,
ASC,
DESC
order[endDateSort]
enum<string>

Sort chronologically by end date (death / dissolution). Artists without an end date sort first in ascending order (last in descending). Ignored when combined with q.

Available options:
asc,
desc,
ASC,
DESC
order[name]
enum<string>

Sort by name or country. Sorting applies to the plain listing; when combined with q, Meilisearch keeps relevance ranking and order is ignored.

Available options:
asc,
desc,
ASC,
DESC
order[country]
enum<string>

Sort by name or country. Sorting applies to the plain listing; when combined with q, Meilisearch keeps relevance ranking and order is ignored.

Available options:
asc,
desc,
ASC,
DESC

Response

200 - application/vnd.api+json

Artist collection

Artist.jsonapi collection.

data
object[]
required
Example:
meta
object
included
object[]
read-only

Related resources requested via the "include" query parameter.