1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-19 17:32:38 +01:00

Updated series and added expected response

Abzie 2017-04-22 23:26:15 +01:00
parent 5a8591b2c0
commit 697a4b9c52

@ -34,12 +34,15 @@ Usage:
* example.com - your url/hostname where radarr is served from
* X-Api-Key - Your API key found from `https://example.com/radarr/settings/general`
You can manually enter id's as {x..X}:
You can manually enter id's as $(seq x y):
`for i in {x..X}; do curl https://example.com/radarr/api/movie/$i -X DELETE -H 'X-Api-Key: xxxxxxxxx' -k; done`
`for i in $(seq x y); do curl https://example.com/radarr/api/movie/$i -X DELETE -H 'X-Api-Key: xxxxxxxxx' -k; done`
Usage:
* x - first id in series
* X - last id in series
* y - last id in series
This will remove all movies with id's from the start to the end of the series.
This will remove all movies with id's from the start to the end of the series. You may encounter ``"message": "Movie with ID 241 does not exist"`` errors.
**Expected response**
For either method shown above, a successful delete will print ``{}``.