$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "id": "r1",
< "title": "battery drain",
< "reviewCount": 4200,
< "rating": 2.4,
< "complaintRate": 74,
< "featureRequestRate": 58,
< "bugRate": 62,
< "velocityPct": 81
< },
< {
< "id": "r2",
< "title": "dark mode request",
< "reviewCount": 1100,
< "rating": 3.8,
< "complaintRate": 28,
< "featureRequestRate": 71,
< "bugRate": 12,
< "velocityPct": 34
< }
< ],
< "previousItems": [
< {
< "id": "r1",
< "title": "battery drain",
< "reviewCount": 2600,
< "rating": 3.1,
< "complaintRate": 55,
< "featureRequestRate": 41,
< "bugRate": 43,
< "velocityPct": 52
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~cross-app-review-feature-demand-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'