Apply document body (optimistic base_hash)
PATCH/wp-json/wp2/studio-sync/v1/sync/posts/:post_id
Writes content with optimistic locking: base_hash (the hash the client last saw) and content are required. On hash mismatch returns 409 and does not change WordPress. WP EDITABLE also accepts PUT/POST.
Request
Responses
- 200
- 409
- 422
OK
conflict
validation errors