mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-22 10:42:47 +01:00
Updated API (markdown)
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
|
||||
```
|
Loading…
Reference in New Issue
Block a user