Read the live Markdown body of a canvas together with its ETag. Use this immediately before rewriting a canvas so the update can be guarded against concurrent edits. Reads the collaborative document, not the cache, and returns the body as Markdown plus a strong `etag` (also in the `ETag` header) derived from that body. Pass the `etag` unchanged as `If-Match` on v1UpdateCanvasContent; the same body always yields the same ETag. A 502 means the document converter was unavailable — retry later. Viewers can read; only editors can replace.
getCanvasContentRead the live Markdown body of a canvas together with its ETag. Use this immediately before rewriting a canvas so the update can be guarded against concurrent edits.
Reads the collaborative document, not the cache, and returns the body as Markdown plus a strong etag (also in the ETag header) derived from that body. Pass the etag unchanged as If-Match on v1UpdateCanvasContent; the same body always yields the same ETag. A 502 means the document converter was unavailable — retry later. Viewers can read; only editors can replace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Canvas ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Unique identifier of the canvas | |
| etag | No | Strong ETag of the live body. Echo it in If-Match on PUT /content; also sent as the ETag response header. | |
| content | No | Live canvas body rendered as Markdown |