Table of Contents

Class UmbracoApiControllerBase

Namespace
Umbraco.Cms.Web.Common.Controllers
Assembly
Umbraco.Web.Common.dll

Provides a base class for Umbraco API controllers.

[Authorize(Policy = "UmbracoFeatureEnabled")]
[UmbracoApiController]
[Obsolete("This will be removed in Umbraco 15.")]
public abstract class UmbracoApiControllerBase : ControllerBase, IUmbracoFeature
Inheritance
UmbracoApiControllerBase
Implements
IUmbracoFeature
Derived
Inherited Members
Extension Methods

Remarks

These controllers are NOT auto-routed.

The base class is ControllerBase which are netcore API controllers without any view support

Constructors

UmbracoApiControllerBase()

Initializes a new instance of the UmbracoApiControllerBase class.

protected UmbracoApiControllerBase()