View Source
Class RootDocumentTreeController
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class RootDocumentTreeController : DocumentTreeControllerBase
Constructors
View Source
RootDocumentTreeController(IEntityService, IUserStartNodeEntitiesService, IDataTypeService, IPublicAccessService, AppCaches, IBackOfficeSecurityAccessor, IDocumentPresentationFactory)
Declaration
public RootDocumentTreeController(IEntityService entityService, IUserStartNodeEntitiesService userStartNodeEntitiesService, IDataTypeService dataTypeService, IPublicAccessService publicAccessService, AppCaches appCaches, IBackOfficeSecurityAccessor backofficeSecurityAccessor, IDocumentPresentationFactory documentPresentationFactory)
Parameters
| Type |
Name |
Description |
| IEntityService |
entityService |
|
| IUserStartNodeEntitiesService |
userStartNodeEntitiesService |
|
| IDataTypeService |
dataTypeService |
|
| IPublicAccessService |
publicAccessService |
|
| AppCaches |
appCaches |
|
| IBackOfficeSecurityAccessor |
backofficeSecurityAccessor |
|
| IDocumentPresentationFactory |
documentPresentationFactory |
|
Methods
View Source
Root(CancellationToken, Int32, Int32, Nullable<Guid>)
Declaration
public async Task<ActionResult<PagedViewModel<DocumentTreeItemResponseModel>>> Root(CancellationToken cancellationToken, int skip = 0, int take = 100, Guid? dataTypeId = null)
Parameters
| Type |
Name |
Description |
| CancellationToken |
cancellationToken |
|
| System.Int32 |
skip |
|
| System.Int32 |
take |
|
| System.Nullable<Guid> |
dataTypeId |
|
Returns