Added comments to figure out which endpoint to use
This commit is contained in:
@@ -178,10 +178,31 @@ const addClickHandlersToDeleteButtons = () => {
|
||||
}
|
||||
|
||||
const deleteFromRadarr = () => {
|
||||
// Need to GET first for movieIds?
|
||||
|
||||
// Likely need to use MovieEditor DELETE endpoint (/api/v3/movie/editor)
|
||||
// Payload:
|
||||
// {
|
||||
// "movieIds": [
|
||||
// 0
|
||||
// ],
|
||||
// "deleteFiles": true
|
||||
// }
|
||||
console.log("Delete from Radarr!")
|
||||
}
|
||||
|
||||
const deleteFromSonarr = () => {
|
||||
// Need to GET first for seriesIds?
|
||||
|
||||
// Likely need to use SeriesEditor DELETE endpoint
|
||||
// Payload:
|
||||
// {
|
||||
// "seriesIds": [
|
||||
// 1
|
||||
// ],
|
||||
// "seasonFolder": null,
|
||||
// "deleteFiles": true,
|
||||
// }
|
||||
console.log("Delete from Sonarr!")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user