curl --request PATCH \
--url http://localhost:3000/v1/scrapers/{retailerCode}/config \
--header 'Content-Type: application/json' \
--data '
{
"is_enabled": true,
"schedule_cron": "<string>",
"schedule_description": "<string>",
"location_ids": [
"<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
}
'{
"success": true,
"config": "<unknown>"
}Update configuration for a specific scraper.
curl --request PATCH \
--url http://localhost:3000/v1/scrapers/{retailerCode}/config \
--header 'Content-Type: application/json' \
--data '
{
"is_enabled": true,
"schedule_cron": "<string>",
"schedule_description": "<string>",
"location_ids": [
"<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
}
'{
"success": true,
"config": "<unknown>"
}1001001 <= x <= 5010 <= x <= 5000.5 <= x <= 101 <= x <= 100