Table of Contents

Class KenticoAdministrationController

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll

Main controller handling administration requests.

[Produces("application/json", new string[] { })]
public sealed class KenticoAdministrationController : ControllerBase
Inheritance
object
ControllerBase
KenticoAdministrationController
Extension Methods

Constructors

KenticoAdministrationController(IHttpContextAccessor)

Creates a new instance of the KenticoAdministrationController class.

public KenticoAdministrationController(IHttpContextAccessor httpContextAccessor)

Parameters

httpContextAccessor IHttpContextAccessor

Methods

GetPageConfiguration(PageConfigurationRequestModel)

Gets the page template properties

[HttpPost]
public Task<IActionResult> GetPageConfiguration(PageConfigurationRequestModel pageConfigurationRequest)

Parameters

pageConfigurationRequest PageConfigurationRequestModel

Returns

Task<IActionResult>

GetXsrfToken()

Action responsible for returning the XSRF request token.

[HttpPost]
public IActionResult GetXsrfToken()

Returns

IActionResult

ProcessCommand(CommandRequestModel, CancellationToken)

Processes command.

[HttpPost]
public Task<IActionResult> ProcessCommand(CommandRequestModel commandRequest, CancellationToken cancellationToken)

Parameters

commandRequest CommandRequestModel
cancellationToken CancellationToken

Returns

Task<IActionResult>