using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Umbraco.Cms.Core.IO; using Umbraco.Cms.ManagementApi.ViewModels.Pagination; using Umbraco.Cms.ManagementApi.ViewModels.Tree; namespace Umbraco.Cms.ManagementApi.Controllers.Stylesheet.Tree; public class ChildrenStylesheetTreeController : StylesheetTreeControllerBase { public ChildrenStylesheetTreeController(FileSystems fileSystems) : base(fileSystems) { } [HttpGet("children")] [MapToApiVersion("1.0")] [ProducesResponseType(typeof(PagedViewModel), StatusCodes.Status200OK)] public async Task>> Children(string path, int skip = 0, int take = 100) => await GetChildren(path, skip, take); }