Search Results for

    Show / Hide Table of Contents
    View Source

    Class DownloadCreatedPackageController

    Inheritance
    System.Object
    ManagementApiControllerBase
    PackageControllerBase
    CreatedPackageControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.Package.Created
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class DownloadCreatedPackageController : CreatedPackageControllerBase

    Constructors

    View Source

    DownloadCreatedPackageController(IPackagingService)

    Declaration
    public DownloadCreatedPackageController(IPackagingService packagingService)
    Parameters
    Type Name Description
    IPackagingService packagingService

    Methods

    View Source

    Download(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.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DownloadCreatedPackageController(IPackagingService)
    • Methods
      • Download(CancellationToken, Guid)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX