Table of Contents

Class ApplicationTreeController

Namespace
Umbraco.Cms.Web.BackOffice.Trees
Assembly
Umbraco.Web.BackOffice.dll

Used to return tree root nodes

public class ApplicationTreeController : UmbracoAuthorizedApiController
Inheritance
ApplicationTreeController
Inherited Members

Constructors

ApplicationTreeController(ITreeService, ISectionService, ILocalizedTextService, IControllerFactory, IActionDescriptorCollectionProvider)

Initializes a new instance of the ApplicationTreeController class.

public ApplicationTreeController(ITreeService treeService, ISectionService sectionService, ILocalizedTextService localizedTextService, IControllerFactory controllerFactory, IActionDescriptorCollectionProvider actionDescriptorCollectionProvider)

Parameters

treeService ITreeService
sectionService ISectionService
localizedTextService ILocalizedTextService
controllerFactory IControllerFactory
actionDescriptorCollectionProvider IActionDescriptorCollectionProvider

Methods

GetApplicationTrees(string?, string?, FormCollection?, TreeUse?)

Returns the tree nodes for an application

public Task<ActionResult<TreeRootNode>> GetApplicationTrees(string? application, string? tree, FormCollection? queryStrings, TreeUse? use = 1)

Parameters

application string

The application to load tree for

tree string

An optional single tree alias, if specified will only load the single tree for the request app

queryStrings FormCollection

The query strings

use TreeUse

Tree use.

Returns

Task<ActionResult<TreeRootNode>>