Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoApiController

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

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

    Constructors

    View Source

    UmbracoApiController()

    Initializes a new instance of the UmbracoApiController class.

    Declaration
    protected UmbracoApiController()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX