$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "id": "v2.4",
< "title": "Version 2.4",
< "rating": 2.9,
< "ratingDropPct": 31,
< "bugRate": 69,
< "negativePct": 72,
< "reviewVelocityPct": 88,
< "crashMentionRate": 44
< },
< {
< "id": "v2.3",
< "title": "Version 2.3",
< "rating": 4.3,
< "ratingDropPct": 2,
< "bugRate": 18,
< "negativePct": 21,
< "reviewVelocityPct": 34,
< "crashMentionRate": 8
< }
< ],
< "previousItems": [
< {
< "id": "v2.4",
< "title": "Version 2.4 beta",
< "rating": 4,
< "ratingDropPct": 8,
< "bugRate": 31,
< "negativePct": 34,
< "reviewVelocityPct": 41,
< "crashMentionRate": 15
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~app-release-regression-rating-drift-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'