ngrok · Schema
ngrok Event Subscription
An Event Subscription defines which events trigger notifications and where those notifications are sent.
AI GatewayAPI GatewayComputeDeveloper ToolsGatewaysIngressPlatformProxiesServersTunnels
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the event subscription. |
| uri | string | URI of the event subscription API resource. |
| created_at | string | Timestamp when the subscription was created. |
| metadata | string | Arbitrary user-defined metadata. |
| description | string | Human-readable description. |
| sources | array | The event sources that trigger this subscription. |
| destinations | array | References to event destinations where notifications are sent. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/api-evangelist/ngrok/blob/main/json-schema/event-subscription.json",
"title": "ngrok Event Subscription",
"description": "An Event Subscription defines which events trigger notifications and where those notifications are sent.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the event subscription."
},
"uri": {
"type": "string",
"description": "URI of the event subscription API resource."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the subscription was created."
},
"metadata": {
"type": "string",
"description": "Arbitrary user-defined metadata."
},
"description": {
"type": "string",
"description": "Human-readable description."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of event source."
},
"uri": {
"type": "string",
"description": "URI of the event source."
}
}
},
"description": "The event sources that trigger this subscription."
},
"destinations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"uri": {
"type": "string"
}
}
},
"description": "References to event destinations where notifications are sent."
}
}
}