Create event dump
documentedCreate a dump job for events (exported data).
POST https://goapi.unisender.ru/ru/transactional/api/v1/event-dump-create.jsonEvent Dumpsno 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://goapi.unisender.ru/ru/transactional/api/v1/event-dump/create.json" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-API-KEY: {{UNISENDER_API_KEY}}" \
-d '{
"start_time": "{{$start_time}}",
"end_time": "{{$end_time}}",
"limit": {{$limit}},
"all_projects": {{$all_projects}},
"filter": {
"job_id": "{{$job_id}}",
"status": "{{$status}}",
"delivery_status": "{{$delivery_status}}",
"email": "{{$email}}",
"email_from": "{{$email_from}}",
"domain": "{{$domain}}",
"campaign_id": "{{$campaign_id}}"
},
"dump_fields": ["{{$dump_field1}}","{{$dump_field2}}","{{$dump_field3}}"],
"aggregate": "{{$aggregate}}",
"delimiter": "{{$delimiter}}",
"format": "{{$format}}"
}'"}