Clone and update EveryStep script
documentedCreate a new or updated EveryStep script for a load test by cloning an existing one (requires id as query parameter).
POST /config_api_v1/StressTest/CloneUpdateScriptLoadViewno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.dotcom-monitor.com/config_api_v1/StressTest/CloneUpdateScript?id={{$id}}" \
-X POST \
-H "Content-Type: application/octet-stream" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Cookie: DANA-AUTH-API-COOKIE={{DOTCOM-MONITOR_SECRET}}" \
--data "@{{$script_file_path}}"