$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "targets": [
< {
< "id": "nextjs",
< "name": "Next.js",
< "repo": "vercel/next.js",
< "criticality": "high",
< "owner": "Frontend Platform",
< "tags": [
< "framework",
< "docs"
< ],
< "releaseNotesUrl": "https://github.com/vercel/next.js/releases.atom",
< "migrationGuideUrl": "https://nextjs.org/docs/app/guides/upgrading/version-16",
< "docsPages": [
< {
< "id": "nextjs-caching",
< "name": "Caching Guide",
< "url": "https://nextjs.org/docs/app/guides/caching"
< }
< ]
< },
< {
< "id": "crawlee-docs",
< "name": "Crawlee",
< "repo": "apify/crawlee",
< "criticality": "standard",
< "owner": "Automation",
< "tags": [
< "crawler",
< "sdk"
< ],
< "changelogUrl": "https://raw.githubusercontent.com/apify/crawlee/master/CHANGELOG.md",
< "docsPages": [
< {
< "id": "crawlee-migrations",
< "name": "Migration Guide",
< "url": "https://crawlee.dev/js/docs/upgrading/upgrading-to-v3"
< }
< ]
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/taroyamada~docs-changelog-drift-monitor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'