diff --git a/API/API.md b/API/API.md index b97ea37..ccbbd16 100644 --- a/API/API.md +++ b/API/API.md @@ -57,10 +57,11 @@ Where: - [[System-Status]] - [[System-Backup]] -### Powershell Post example +## EXAMPLES +### Powershell POST RescanSeries example +Post processing example to refresh the series. ``` $sonarr_seriesid = $env:sonarr_series_id -$sonarr_seriesid = 3 $params = @{"name"="RescanSeries";"seriesId"="$sonarr_seriesid";} | ConvertTo-Json Invoke-WebRequest -Uri http://SONARRIP:SONARRPORT/api/command?apikey=SONARRAPIKEY -Method POST -Body $params ``` \ No newline at end of file