|
|
|
@ -32,3 +32,14 @@ All requests made to the api endpoint require API Key authentication using the X
|
|
|
|
|
- [History](https://github.com/Radarr/Radarr/wiki/API:History)
|
|
|
|
|
- [Movie](https://github.com/Radarr/Radarr/wiki/API:Movie)
|
|
|
|
|
- [System-Status](https://github.com/Radarr/Radarr/wiki/API:System-Status)
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
|
|
### Powershell
|
|
|
|
|
Example of post processing script to scan the disk for the movie
|
|
|
|
|
```
|
|
|
|
|
$movie_id = $env:radarr_movie_id
|
|
|
|
|
$params = @{"name"="RescanMovie";"movieId"="$movie_id";} | ConvertTo-Json
|
|
|
|
|
Invoke-WebRequest -Uri http://RADARRIP:RADARRPORT/api/command?apikey=RADARRAPIKEY -Method POST -Body $params
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|