Add Support for JSON Patch

Registered by Betsy Luzader

Add JSON Patch support to all Designate API calls. JSON Patch is used to avoid sending a whole document when only a part has changed. We will use it in combination with the HTTP Patch method. It is described in http://tools.ietf.org/html/rfc6902.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Betsy Luzader
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Simple example
The original document

{
  "baz": "qux",
  "foo": "bar"
}

The patch

[
  { "op": "replace", "path": "/baz", "value": "boo" },
  { "op": "add", "path": "/hello, "value": ["world"] },
  { "op": "remove, "path": "/foo}
]

The result

{
   "baz": "boo",
   "hello": ["world"]
}

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.