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 |
|---|---|---|
| IPackagingService | 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 |
|---|---|---|
| CancellationToken | cancellationToken | |
| Guid | id | The id of the package. |
Returns
| Type | Description |
|---|---|
| Task<IActionResult> | The XML or ZIP file of the package or not found result. |