Class WebhookSettings
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
public class WebhookSettings
Properties
View SourceEnabled
Gets or sets a value indicating whether webhooks are enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
By default, webhooks are enabled.
If this option is set to false
webhooks will no longer send web-requests.
EnableLoggingCleanup
Gets or sets a value indicating whether cleanup of webhook logs are enabled.
Declaration
public bool EnableLoggingCleanup { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
By default, cleanup is enabled.
KeepLogsForDays
Gets or sets a value indicating number of days to keep logs for.
Declaration
public int KeepLogsForDays { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
By default, logs are kept for 30 days.
MaximumRetries
Gets or sets a value indicating the maximum number of retries for all webhooks.
Declaration
public int MaximumRetries { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
By default, maximum number of retries is 5.
If this option is set to 0
webhooks will no longer retry.
Period
Gets or sets a value for the period of the webhook firing.
Declaration
public TimeSpan Period { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |