Interface GraffitiPatch

This is the format for patches that modify GraffitiObjectBase objects using the Graffiti.patch method. The patches must be an array of JSON Patch operations. Patches can only be applied to the value, channels, and allowed properties since the other properties either describe the object's location or are automatically generated. (See also GraffitiPutObject).

interface GraffitiPatch {
    value?: Operation[];
    channels?: Operation[];
    allowed?: Operation[];
}

Properties

value?: Operation[]

An array of JSON Patch operations to modify the object's value. The resulting value must still be a JSON object.

channels?: Operation[]

An array of JSON Patch operations to modify the object's channels. The resulting channels must still be an array of strings.

allowed?: Operation[]

An array of JSON Patch operations to modify the object's allowed property. The resulting allowed property must still be an array of strings or undefined.