2023-04-09 17:50:04 -04:00
|
|
|
get:
|
|
|
|
|
summary: Retrieve an individual track
|
|
|
|
|
operationId: getTrack
|
|
|
|
|
parameters:
|
2023-05-22 20:45:18 -04:00
|
|
|
- $ref: '../parameters/query/includeForTracks.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:
|
2023-05-21 13:16:49 -04:00
|
|
|
$ref: '../schemas/Track.yml'
|
2023-05-23 18:36:38 -04:00
|
|
|
included:
|
2023-05-23 19:47:00 -04:00
|
|
|
description: Included resources, as requested by the `include` query parameter
|
2023-05-23 18:36:38 -04:00
|
|
|
type: array
|
|
|
|
|
items:
|
|
|
|
|
$ref: '../schemas/IncludedResource.yml'
|
2023-04-09 17:50:04 -04:00
|
|
|
'403':
|
2023-05-21 13:16:49 -04:00
|
|
|
$ref: '../responses/NotAuthorized.yml'
|
2023-04-09 17:50:04 -04:00
|
|
|
'404':
|
2023-05-21 13:16:49 -04:00
|
|
|
$ref: '../responses/NotFound.yml'
|
2023-04-09 17:50:04 -04:00
|
|
|
'500':
|
2023-05-21 13:16:49 -04:00
|
|
|
$ref: '../responses/InternalServerError.yml'
|