SubscriptionInfo
Properties
Name | Type | Required | Description |
---|---|---|---|
uri | str | ✅ | Canonical URI of a subscription resource |
id_ | str | ✅ | Internal identifier of a subscription |
event_filters | List[str] | ✅ | The list of event filter names corresponding to events the user is subscribed to |
expiration_time | str | ✅ | Subscription expiration time in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z |
status | SubscriptionInfoStatus | ✅ | Subscription status |
creation_time | str | ✅ | Subscription creation time in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534 |
delivery_mode | NotificationDeliveryMode | ✅ | Notification delivery transport information |
disabled_filters | List[DisabledFilterInfo] | ❌ | The list of event filter names corresponding to events the user is not subscribed to due to certain limitations |
expires_in | int | ❌ | Subscription lifetime in seconds |
blacklisted_data | BlacklistedData | ❌ | Returned if a WebHook subscription is blacklisted |
SubscriptionInfoStatus
Subscription status
Properties
Name | Type | Required | Description |
---|---|---|---|
ACTIVE | str | ✅ | "Active" |
BLACKLISTED | str | ✅ | "Blacklisted" |
BlacklistedData
Returned if a WebHook subscription is blacklisted
Properties
Name | Type | Required | Description |
---|---|---|---|
blacklisted_at | str | ❌ | Time of adding subscription to a black list in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z |
reason | str | ❌ | Reason of adding subscription to a black list |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs