Class KenticoAdministrationController
Main controller handling administration requests.
[Produces("application/json", new string[] { })]
public sealed class KenticoAdministrationController : ControllerBase
- Inheritance
-
objectControllerBaseKenticoAdministrationController
- 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
CommandRequestModelcancellationToken
CancellationToken
Returns
- Task<IActionResult>