Search Results for

    Show / Hide Table of Contents
    View Source

    Class ByIdContentApiController

    Inheritance
    System.Object
    DeliveryApiControllerBase
    ContentApiControllerBase
    ContentApiItemControllerBase
    Namespace: Umbraco.Cms.Api.Delivery.Controllers.Content
    Assembly: Umbraco.Cms.Api.Delivery.dll
    Syntax
    public class ByIdContentApiController : ContentApiItemControllerBase

    Constructors

    View Source

    ByIdContentApiController(IApiPublishedContentCache, IApiContentResponseBuilder, IRequestMemberAccessService)

    Declaration
    public ByIdContentApiController(IApiPublishedContentCache apiPublishedContentCache, IApiContentResponseBuilder apiContentResponseBuilder, IRequestMemberAccessService requestMemberAccessService)
    Parameters
    Type Name Description
    IApiPublishedContentCache apiPublishedContentCache
    IApiContentResponseBuilder apiContentResponseBuilder
    IRequestMemberAccessService requestMemberAccessService

    Methods

    View Source

    ById(Guid)

    Declaration
    public async Task<IActionResult> ById(Guid id)
    Parameters
    Type Name Description
    Guid id
    Returns
    Type Description
    Task<IActionResult>
    View Source

    ByIdV20(Guid)

    Gets a content item by id.

    Declaration
    public async Task<IActionResult> ByIdV20(Guid id)
    Parameters
    Type Name Description
    Guid id

    The unique identifier of the content item.

    Returns
    Type Description
    Task<IActionResult>

    The content item or not found result.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ByIdContentApiController(IApiPublishedContentCache, IApiContentResponseBuilder, IRequestMemberAccessService)
    • Methods
      • ById(Guid)
      • ByIdV20(Guid)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX