Class DownloadCreatedPackageController
Inheritance
System.Object
Namespace: Umbraco.Cms.Api.Management.Controllers.Package.Created
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class DownloadCreatedPackageController : CreatedPackageControllerBase
Constructors
View SourceDownloadCreatedPackageController(IPackagingService)
Declaration
public DownloadCreatedPackageController(IPackagingService packagingService)
Parameters
Type | Name | Description |
---|---|---|
IPackaging |
packagingService |
Methods
View SourceDownload(CancellationToken, Guid)
Downloads a package XML or ZIP file.
Declaration
public async Task<IActionResult> Download(CancellationToken cancellationToken, Guid id)
Parameters
Type | Name | Description |
---|---|---|
Cancellation |
cancellationToken | |
Guid | id | The id of the package. |
Returns
Type | Description |
---|---|
Task<IAction |
The XML or ZIP file of the package or not found result. |