Table of Contents

Class UmbracoApiController

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

Provides a base class for auto-routed Umbraco API controllers.

[Obsolete("WARNING\nThe UmbracoAPIController does not work exactly as in previous versions of Umbraco because serialization is now done using System.Text.Json.\nPlease verify your API responses still work as expect.\n\nWe recommend using regular ASP.NET Core ApiControllers for your APIs so that OpenAPI specifications are generated.\nRead more about this here: https://learn.microsoft.com/en-us/aspnet/core/web-api/\n\nUmbracoAPIController will be removed in Umbraco 15.")]
public abstract class UmbracoApiController : UmbracoApiControllerBase, IUmbracoFeature, IDiscoverable
Inheritance
UmbracoApiController
Implements
IUmbracoFeature
IDiscoverable
Inherited Members
Extension Methods

Constructors

UmbracoApiController()

Initializes a new instance of the UmbracoApiController class.

protected UmbracoApiController()