This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - websub : SubscriptionChangeRequest

Record representing a WebSub subscription change request.

Closed record


  • topic string
  • The topic for which the subscription/unsubscription request is sent

  • callback string
  • The callback which should be registered/unregistered for the subscription/unsubscription request sent

  • leaseSeconds int (default 0)
  • The lease period for which the subscription is expected to be active

  • secret string
  • The secret to be used for authenticated content distribution with this subscription