Search Results for

    Show / Hide Table of Contents
    View Source

    Class ByIdsMediaApiController

    Inheritance
    System.Object
    DeliveryApiControllerBase
    MediaApiControllerBase
    Namespace: Umbraco.Cms.Api.Delivery.Controllers.Media
    Assembly: Umbraco.Cms.Api.Delivery.dll
    Syntax
    public class ByIdsMediaApiController : MediaApiControllerBase

    Constructors

    View Source

    ByIdsMediaApiController(IPublishedSnapshotAccessor, IApiMediaWithCropsResponseBuilder)

    Declaration
    public ByIdsMediaApiController(IPublishedSnapshotAccessor publishedSnapshotAccessor, IApiMediaWithCropsResponseBuilder apiMediaWithCropsResponseBuilder)
    Parameters
    Type Name Description
    IPublishedSnapshotAccessor publishedSnapshotAccessor
    IApiMediaWithCropsResponseBuilder apiMediaWithCropsResponseBuilder

    Methods

    View Source

    Item(HashSet<Guid>)

    Declaration
    public async Task<IActionResult> Item(HashSet<Guid> ids)
    Parameters
    Type Name Description
    HashSet<Guid> ids
    Returns
    Type Description
    Task<IActionResult>
    View Source

    ItemsV20(HashSet<Guid>)

    Gets media items by ids.

    Declaration
    public async Task<IActionResult> ItemsV20(HashSet<Guid> ids)
    Parameters
    Type Name Description
    HashSet<Guid> ids

    The unique identifiers of the media items to retrieve.

    Returns
    Type Description
    Task<IActionResult>

    The media items.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ByIdsMediaApiController(IPublishedSnapshotAccessor, IApiMediaWithCropsResponseBuilder)
    • Methods
      • Item(HashSet<Guid>)
      • ItemsV20(HashSet<Guid>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX