Pub/Sub Notifications
Create a Pub/Sub channel
Create a Pub/Sub channel in the specified application.
post/v3/channels/pubsub
Request body
Example request
{
"description": "Production Pub/Sub for Events notifications",
"topic": "projects/your-project-id/topics/your-topic-id",
"notification_email_addresses": [
"jane@example.com",
"joe@example.com"
],
"compressed_delivery": true
}Response
Pub/Sub channel created
Example response
{
"data": {
"id": "UMWjAjMeWQ4D8gYF2moonK4486",
"description": "Production Pub/Sub channel for Grant notifications",
"topic": "projects/your-project-id/topics/your-topic-id",
"notification_email_addresses": [
"jane@example.com",
"joe@example.com"
]
}
}