JSON 병합 패치

1 개요[ | ]

JSON Merge Patch
JSON 병합 패치
  • Content-Type: application/merge-patch+json
{
  "title": "Goodbye!",
  "author": {
    "givenName": "John",
    "familyName": "Doe"
  },
  "tags": [ "example", "sample" ],
  "content": "This will be unchanged"
}
PATCH /my/resource HTTP/1.1
Host: example.org
Content-Type: application/merge-patch+json
{
  "title": "Hello!",
  "phoneNumber": "+01-123-456-7890",
  "author": {
    "familyName": null
  },
  "tags": [ "example" ]
}
{
  "title": "Hello!",
  "author": {
    "givenName": "John"
  },
  "tags": [ "example" ],
  "content": "This will be unchanged",
  "phoneNumber": "+01-123-456-7890"
}

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}