View Source
Class AnalyticsController
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[Authorize(Policy = "SectionAccessSettings")]
public class AnalyticsController : UmbracoAuthorizedJsonController, IUmbracoFeature, IDiscoverable
Constructors
View Source
AnalyticsController(IMetricsConsentService)
Declaration
public AnalyticsController(IMetricsConsentService metricsConsentService)
Parameters
Methods
View Source
GetAllLevels()
Declaration
public IEnumerable<TelemetryLevel> GetAllLevels()
Returns
View Source
GetConsentLevel()
Declaration
public TelemetryLevel GetConsentLevel()
Returns
View Source
SetConsentLevel(TelemetryResource)
Declaration
[HttpPost]
public IActionResult SetConsentLevel([FromBody] TelemetryResource telemetryResource)
Parameters
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.IActionResult |
|