1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-20 18:02:44 +01:00

Updated API (markdown)

jobrien2001 2018-01-06 17:03:56 -05:00
parent 05363b618a
commit f16d5e2813

11
API.md

@ -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) - [History](https://github.com/Radarr/Radarr/wiki/API:History)
- [Movie](https://github.com/Radarr/Radarr/wiki/API:Movie) - [Movie](https://github.com/Radarr/Radarr/wiki/API:Movie)
- [System-Status](https://github.com/Radarr/Radarr/wiki/API:System-Status) - [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
```