diff --git a/backend.yml b/backend.yml index dc0b243..1710b9b 100644 --- a/backend.yml +++ b/backend.yml @@ -129,27 +129,27 @@ paths: schema: $ref: '#/components/schemas/List' - /api/tracks/{trackid}: + /api/item/{itemid}: get: tags: - backend - summary: Gets a track from a List - operationId: getTrack + summary: Gets data of an item + operationId: getItem parameters: - - name: trackid + - name: itemid in: path - description: ID of a track + description: ID of an item required: true schema: type: string format: uuid responses: 200: - description: Track data + description: Item data content: application/json: schema: - $ref: '#/components/schemas/Track' + $ref: '#/components/schemas/Item' components: schemas: @@ -191,8 +191,8 @@ components: itemlist: type: array items: - $ref: '#/components/schemas/Track' - Track: + $ref: '#/components/schemas/Item' + Item: required: - id - title