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
treeServiceITreeServicesectionServiceISectionServicelocalizedTextServiceILocalizedTextServicecontrollerFactoryIControllerFactoryactionDescriptorCollectionProviderIActionDescriptorCollectionProvider
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
applicationstringThe application to load tree for
treestringAn optional single tree alias, if specified will only load the single tree for the request app
queryStringsFormCollectionThe query strings
useTreeUseTree use.
Returns
- Task<ActionResult<TreeRootNode>>