Skip to content

PatchItem

A JSONPatch document as defined by RFC 6902.

opstringrequired

The operation to be performed.

Enum:"replace""add""remove"
Example:"replace"
pathstringrequired

A JSON-Pointer.

Example:"description"
valueany

The value to be used within the operations.

Example:"New description"
fromstring

A string containing a JSON Pointer value.

{ "op": "replace", "path": "description", "value": "New description" }