navidrome/api/resources/artist.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
718 B
YAML
Raw Normal View History

2023-04-09 17:50:04 -04:00
get:
summary: Retrieve an individual artist
operationId: getArtist
parameters:
- $ref: '../parameters/query/include.yml'
2023-04-09 17:50:04 -04:00
- name: artistId
in: path
description: The unique identifier of the artist
required: true
schema:
type: string
responses:
'200':
description: An artist object
content:
application/vnd.api+json:
schema:
type: object
required: [data]
properties:
data:
$ref: '../schemas/Artist.yml'
2023-04-09 17:50:04 -04:00
'403':
$ref: '../responses/NotAuthorized.yml'
2023-04-09 17:50:04 -04:00
'404':
$ref: '../responses/NotFound.yml'
2023-04-09 17:50:04 -04:00
'500':
$ref: '../responses/InternalServerError.yml'