4 lines
266 B
PowerShell
4 lines
266 B
PowerShell
$resp = (Invoke-WebRequest -Uri 'http://localhost:7000/api/config' -UseBasicParsing).Content | ConvertFrom-Json
|
|
$keys = @('scoring_enabled','scrape_window_enabled','boost_interval_mins','ai_filter_enabled')
|
|
$resp | Where-Object { $_.key -in $keys } | ConvertTo-Json
|