put_content
Stage one content key. Body ≤60KB. Larger pages: stage_content_chunk + apply_changeset bodyStaging, dotsy push, or PUT content-raw. Edits to an existing large page: batch_patch_content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Content key: a page (about.html, blog/post.html), a layout (layouts/<name>.html) or a fragment (fragments/<name>.html). A <dotsy-fragment name> tag and a route's layout use the bare name, not the key. | |
| body | Yes | ||
| site | Yes | Site slug, e.g. acme-studio | |
| context | No | Why you're calling this (activity log). | |
| guestToken | No | Guest token from start_site (pgg_…). Omit when signed in with OAuth. | |
| contentType | No |