Create subscription
documentedCreate or import a subscription.
POST /projects/{PROJECT_ID}/subscriptionsSubscriptionsno 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://pushpad.xyz/api/v1/projects/{{$project_id}}/subscriptions" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"endpoint": "{{$endpoint}}", "p256dh": "{{$p256dh}}", "auth": "{{$auth}}", "uid": "{{$uid}}", "tags": ["{{$tag1}}", "{{$tag2}}"]}'