Individual JSON Patch operation for an HTTP PATCH request.

PatchOperation

interface PatchOperation {
    op: PatchOperationOpEnum;
    path: string;
    value?: { [key: string]: any }[];
}

Properties

Properties

Type of JSON Patch operation. Supported JSON Patch operations include add, replace, and delete. See https://tools.ietf.org/html/rfc6902.

PatchOperation

path: string

JSON Pointer path of the element to patch. See https://tools.ietf.org/html/rfc6902.

PatchOperation

value?: { [key: string]: any }[]

JSON value to add, replace, or delete.

PatchOperation