navidrome/api/resources/track.yml

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

28 lines
711 B
YAML
Raw Normal View History

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