Create subscription
documentedCreates a Google Workspace subscription.
POST /v1beta/subscriptionsWorkspace Events APIno 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://workspaceevents.googleapis.com/v1beta/subscriptions" \
-X POST \\
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"targetResource": "//meet.googleapis.com/spaces/{{$space_id}}", "eventTypes": ["{{$event_type_1}}", "{{$event_type_2}}"], "payloadOptions": {"includeResource": {{$include_resource}}}, "notificationEndpoint": {"pubsubTopic": "projects/{{$pubsub_project}}/topics/{{$pubsub_topic}}"} }'