Patch Document Patch Operation


An operation object in the patch document.

Fields

Name Type Notes

op

Patch Operator

required

The operation type.

path

String

required

The path to the field the operation operates on. This path consists of one or more path elements prefixed by a slash ('/'). For example: /addresses/1234/street , which means: the field 'street' of the object '1234', which is a part of the collection 'addresses'.

value

Object

The value to add or replace (a remove operation has no value). The type of this value must match the value of the field involved in this operation.