feat: add a button in ManageSlideOver to remove the movie and the file from Radarr/Sonarr

This commit is contained in:
dd060606
2022-07-08 10:51:19 +02:00
parent b67844a0ee
commit 2e7458457e
5 changed files with 237 additions and 16 deletions

View File

@@ -5362,6 +5362,23 @@ paths:
responses:
'204':
description: Succesfully removed media item
/media/{mediaId}/file:
delete:
summary: Delete media file
description: Removes a media file from radarr/sonarr. The `ADMIN` permission is required to perform this action.
tags:
- media
parameters:
- in: path
name: mediaId
description: Media ID
required: true
example: '1'
schema:
type: string
responses:
'204':
description: Succesfully removed media item
/media/{mediaId}/{status}:
post:
summary: Update media status