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

Adding Example of Curl on Linux

euphoria360 2018-03-02 11:49:00 +03:30
parent 726f6c1ceb
commit 2fc44f5818

5
API.md

@ -43,3 +43,8 @@ $params = @{"name"="RescanMovie";"movieId"="$movie_id";} | ConvertTo-Json
Invoke-WebRequest -Uri http://RADARRIP:RADARRPORT/api/command?apikey=RADARRAPIKEY -Method POST -Body $params
```
### Curl on Linux
Example of instructing Radarr to do a backlog search of your missing movies which are released. You can put this command in CRON to do it on a schedule.
```
curl -d '{name: "missingMoviesSearch", filterKey: "status", filterValue: "released"}' -H "Content-Type: application/json" -X POST http://RADARRIP:RADARRPORT/api/command?apikey=RADARRAPIKEY
```