Request:
- the format of the request is determined by the JSON Patch syntax (see RFC 6902
- edit metadata (tags, bot, comment) may be added
- If-Match and If-Unmodified-Since headers
Responses:
- success case: status code 200 and the patched statement, ETag header with the last revision ID and Last-Modified header
- error cases:
- 400 Bad Request with examples for invalid-operation-change-statement-id, invalid-operation-change-property-of-statement and invalid-patch
- 404 Not Found with examples for item and statement
- 409 Conflict with examples for cannot-apply-patch and patch-test-failed
- 412 Precondition Failed without response body for unmet If-Match or If-Unmodified-Since consitions
- 422 Unprocessable Entity with an example for patched-statement-invalid