Class AllCreatedPackageController
Inheritance
System.Object
Namespace: Umbraco.Cms.Api.Management.Controllers.Package.Created
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class AllCreatedPackageController : CreatedPackageControllerBase
Constructors
View SourceAllCreatedPackageController(IPackagingService, IUmbracoMapper)
Declaration
public AllCreatedPackageController(IPackagingService packagingService, IUmbracoMapper umbracoMapper)
Parameters
| Type | Name | Description |
|---|---|---|
| IPackagingService | packagingService | |
| IUmbracoMapper | umbracoMapper |
Methods
View SourceAll(CancellationToken, Int32, Int32)
Gets a paginated list of all created packages.
Declaration
public async Task<ActionResult<PagedViewModel<PackageDefinitionResponseModel>>> All(CancellationToken cancellationToken, int skip = 0, int take = 100)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | |
| System.Int32 | skip | The amount of items to skip. |
| System.Int32 | take | The amount of items to take. |
Returns
| Type | Description |
|---|---|
| Task<ActionResult<PagedViewModel<PackageDefinitionResponseModel>>> | The paged result of the created packages. |