1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-22 10:42:47 +01:00

Updated API (markdown)

jobrien2001 2018-01-06 16:50:09 -05:00
parent 5457f17771
commit e2c6264092

@ -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
```