mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-03 22:57:18 +02:00
Updated API (markdown)
parent
05363b618a
commit
f16d5e2813
11
API.md
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)
|
||||
- [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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user