Search Results for

    Show / Hide Table of Contents
    View Source

    Class JsonPatchViewModel

    Represents a view model used to encapsulate JSON Patch operations for API requests. Typically contains a collection of patch operations to be applied to a resource.

    Inheritance
    object
    Namespace: Umbraco.Cms.Api.Management.ViewModels.JsonPatch
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class JsonPatchViewModel

    Constructors

    View Source

    JsonPatchViewModel()

    Declaration
    public JsonPatchViewModel()

    Properties

    View Source

    Op

    Gets or sets the type of operation to be performed in the JSON Patch document (e.g., 'add', 'remove', 'replace').

    Declaration
    [Required]
    public string Op { get; set; }
    Property Value
    Type Description
    string
    View Source

    Path

    Gets or sets the JSON Patch path indicating the location to apply the operation.

    Declaration
    [Required]
    public string Path { get; set; }
    Property Value
    Type Description
    string
    View Source

    Value

    Gets or sets the value to be applied in the JSON Patch operation.

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