mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-10 04:20:52 +00:00
split get and delete endpoint
This commit is contained in:
15
src/paths/library/[sectionKey]/delete-library.yaml
Normal file
15
src/paths/library/[sectionKey]/delete-library.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
delete:
|
||||
tags:
|
||||
- Library
|
||||
summary: Delete Library Section
|
||||
description: Delete a library using a specific section id
|
||||
operationId: deleteLibrary
|
||||
parameters:
|
||||
- $ref: "../../../parameters/library/section-key.yaml"
|
||||
responses:
|
||||
"200":
|
||||
description: The library is deleted
|
||||
"400":
|
||||
$ref: "../../../responses/400.yaml"
|
||||
"401":
|
||||
$ref: "../../../responses/401.yaml"
|
||||
@@ -229,20 +229,3 @@ get:
|
||||
$ref: "../../../responses/400.yaml"
|
||||
"401":
|
||||
$ref: "../../../responses/401.yaml"
|
||||
|
||||
# TODO Move the deleteLibrary operation to its own file, there is currently a bug in the SDKEasy lint that prevents this referencing two methods from the same path url
|
||||
delete:
|
||||
tags:
|
||||
- Library
|
||||
summary: Delete Library Section
|
||||
description: Delete a library using a specific section id
|
||||
operationId: deleteLibrary
|
||||
parameters:
|
||||
- $ref: "../../../parameters/library/section-key.yaml"
|
||||
responses:
|
||||
"200":
|
||||
description: The library is deleted
|
||||
"400":
|
||||
$ref: "../../../responses/400.yaml"
|
||||
"401":
|
||||
$ref: "../../../responses/401.yaml"
|
||||
Reference in New Issue
Block a user