Sign in

Create or update wachet

documented

Create a new wachet or update an existing one (specifying id when updating).

PUT /thirdparty/v1/taskWachetsno implementation yet0 runs
No 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.wachete.com/thirdparty/v1/task" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"id": "{{$id}}", "name": "{{$name}}", "url": "{{$url}}", "xPath": "{{$xpath}}", "jobType": "SinglePage", "recurrenceInSeconds": {{$recurrenceInSeconds}}, "alerts": [{"type": "Error"}], "notificationEndpoints": [{"type": "Webhook", "value": "{{$webhook_url}}"}], "proxies": [{"location": "{{$location}}"}], "dynamicContent": {{$dynamicContent}}, "crawlingDepth": {{$crawlingDepth}}, "urlFilter": {"include": [{"filter": "{{$include_filter}}", "type": "Contains"}], "exclude": [{"filter": "{{$exclude_filter}}", "type": "Regex"}]}}'