Skip to content

webhook-subscription

Generated reference page for spec/v1/schemas/resources/webhook-subscription.json.

Metadata

  • Type: JSON Schema
  • Source: spec/v1/schemas/resources/webhook-subscription.json
  • Raw: View Raw

Summary

Source

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agent-service.spec/v1/schemas/resources/webhook-subscription.json",
  "type": "object",
  "additionalProperties": false,
  "required": ["url", "eventTypes"],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "eventTypes": {
      "type": "array",
      "items": {
        "$ref": "../common/enums.json#/$defs/webhookEventType"
      }
    },
    "headers": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "algorithm": {
      "$ref": "../common/enums.json#/$defs/webhookAlgorithm"
    },
    "secretRef": {
      "type": "string"
    }
  }
}

Generated from spec source.