navidrome/api/resources/album.yml

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

28 lines
712 B
YAML
Raw Normal View History

2023-04-09 17:50:04 -04:00
get:
summary: Retrieve an individual album
operationId: getAlbum
parameters:
- $ref: '../parameters/query/include.yml'
2023-04-09 17:50:04 -04:00
- name: albumId
in: path
description: The unique identifier of the album
required: true
schema:
type: string
responses:
'200':
description: An album object
content:
application/vnd.api+json:
schema:
type: object
required: [data]
properties:
data:
$ref: '../schemas/Album.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'