Fixed some minor bugs and added to root

This commit is contained in:
Vito0912 2024-07-30 17:34:04 +02:00
parent 7ef2eed2ad
commit 9b3cb4ed33
5 changed files with 72 additions and 60 deletions

View file

@ -40,7 +40,7 @@ paths:
description: TODO
oneOf:
- $ref: '../objects/LibraryItem.yaml#/components/schemas/libraryItem'
/api/items/{id}/play:
/api/items/{id}/play/{episodeId}:
parameters:
- name: id
in: path
@ -48,6 +48,12 @@ paths:
required: true
schema:
$ref: '../objects/LibraryItem.yaml#/components/schemas/libraryItemId'
- name: episodeId
in: path
description: The ID of the episode to play.
required: false
schema:
$ref: '../objects/mediaTypes/Podcast.yaml#/components/schemas/podcastId'
post:
operationId: playLibraryItem
summary: Play a library item.

View file

@ -0,0 +1,2 @@
paths: