Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebhookSettings

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class WebhookSettings

    Properties

    View Source

    Enabled

    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.

    View Source

    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.

    View Source

    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.

    View Source

    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.

    View Source

    PayloadType

    Gets or sets a value indicating the type of payload used for sending webhooks

    Declaration
    public WebhookPayloadType PayloadType { get; set; }
    Property Value
    Type Description
    WebhookPayloadType
    Remarks

    By default, Legacy payloads are used see WebhookPayloadType for more info. This default will change to minimal starting from v17.

    View Source

    Period

    Gets or sets a value for the period of the webhook firing.

    Declaration
    public TimeSpan Period { get; set; }
    Property Value
    Type Description
    TimeSpan
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX