Search Results for

    Show / Hide Table of Contents
    View Source

    Class ApiContentRoute

    Represents a route to content in the Delivery API.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ApiContentRoute : IApiContentRoute

    Constructors

    View Source

    ApiContentRoute(string, ApiContentStartItem)

    Initializes a new instance of the ApiContentRoute class.

    Declaration
    public ApiContentRoute(string path, ApiContentStartItem startItem)
    Parameters
    Type Name Description
    string path

    The URL path of the content.

    ApiContentStartItem startItem

    The start item for this route.

    Properties

    View Source

    Path

    Gets the URL path of the content.

    Declaration
    public string Path { get; }
    Property Value
    Type Description
    string
    View Source

    QueryString

    Gets or sets the query string associated with the route.

    Declaration
    public string? QueryString { get; set; }
    Property Value
    Type Description
    string
    View Source

    StartItem

    Gets the start item for this route.

    Declaration
    public IApiContentStartItem StartItem { get; }
    Property Value
    Type Description
    IApiContentStartItem
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX