Co-authored-by: Andy Butland <abutland73@gmail.com> Co-authored-by: Kenn Jacobsen <kja@umbraco.dk>
19 lines
609 B
C#
19 lines
609 B
C#
using Umbraco.Cms.Core.Webhooks;
|
|
|
|
namespace Umbraco.Cms.Core;
|
|
|
|
public static partial class Constants
|
|
{
|
|
public static class Webhooks
|
|
{
|
|
/// <summary>
|
|
/// Gets the default webhook payload type.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Currently, the default payload type is <see cref="WebhookPayloadType.Legacy"/> for backward compatibility until Umbraco 17.
|
|
/// From Umbraco 17 this will be changed to <see cref="WebhookPayloadType.Minimal"/>.
|
|
/// </remarks>
|
|
public const WebhookPayloadType DefaultPayloadType = WebhookPayloadType.Legacy;
|
|
}
|
|
}
|