Skip to main content
PATCH
/
v1
/
scrapers
/
bulk
/
config
Bulk update scraper configuration
curl --request PATCH \
  --url http://localhost:3000/v1/scrapers/bulk/config \
  --header 'Content-Type: application/json' \
  --data '
{
  "updates": {
    "is_enabled": true,
    "schedule_cron": "<string>",
    "schedule_description": "<string>",
    "max_workers": 25,
    "batch_size": 255,
    "rate_limit_delay": 5.25,
    "alert_on_failure": true,
    "alert_on_error_rate": true,
    "error_rate_threshold": 50
  },
  "retailer_codes": [
    "<string>"
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "updated": [
    "<unknown>"
  ]
}

Body

application/json
updates
object
required
retailer_codes
string[]

Response

200 - application/json

Configurations updated

success
boolean
required
message
string
required
updated
null[]
required