Render · Schema

webhookWithCursor

CloudPlatformDeploymentInfrastructureDevOpsWeb ServicesDatabasesHosting

Properties

Name Type Description
webhook object
cursor object
View JSON Schema on GitHub

JSON Schema

render-webhookwithcursor-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhookWithCursor",
  "title": "webhookWithCursor",
  "type": "object",
  "required": [
    "webhook",
    "cursor"
  ],
  "properties": {
    "webhook": {
      "type": "object",
      "required": [
        "id",
        "name",
        "url",
        "secret",
        "enabled",
        "eventFilter"
      ],
      "properties": {
        "id": {
          "$ref": "#/paths/~1webhooks~1%7BwebhookId%7D/parameters/0/schema"
        },
        "url": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "secret": {
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        },
        "eventFilter": {
          "type": "array",
          "description": "The event types that will trigger the webhook. An empty list means all event types will trigger the webhook.",
          "items": {
            "$ref": "#/components/schemas/webhookEventWithCursor/properties/webhookEvent/properties/eventType"
          }
        }
      }
    },
    "cursor": {
      "$ref": "#/components/schemas/cursor"
    }
  }
}