Files
Umbraco-CMS/src/Umbraco.Core/Constants-Headers.cs
Kenn Jacobsen fa007ac257 Output notification handler messages as a header (#15786)
* Output notification handler messages as a header

* Make the notification contract public

* Moved the Notification type and added it to swagger schema

* Update swagger docs

---------

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2024-02-28 15:09:08 +01:00

23 lines
591 B
C#

namespace Umbraco.Cms.Core;
public static partial class Constants
{
public static class Headers
{
/// <summary>
/// Location header name.
/// </summary>
public const string Location = "Location";
/// <summary>
/// Generated resource identifier header name.
/// </summary>
public const string GeneratedResource = "Umb-Generated-Resource";
/// <summary>
/// Response notifications header name.
/// </summary>
public const string Notifications = "Umb-Notifications";
}
}