Skip to main content
PUT
Save a page draft

Authorizations

Authorization
string
header
required

Bearer token: a shop API key (WEAVERSE_API_KEY), a scoped API key or a delegated MCP OAuth token; translation-unit routes also accept a project-bound translation agent token. Each operation lists the scope it requires; the scope table is in the API description.

Path Parameters

projectId
string
required
pageId
string
required

Body

application/json
items
object[]
required
Maximum array length: 200
expectedHeadVersionId
string | null
required

The head this edit started from; null means "no draft yet"

expectedPageUpdatedAt
string<date-time> | null
required

GET pageUpdatedAt exactly as GET returned it (null = a legacy row with no revision). The save is refused with 409 STALE_PAGE when it no longer matches live.

expectedProjectUpdatedAt
string<date-time> | null
required

GET projectUpdatedAt exactly as GET returned it (null = a legacy row with no revision). The save is refused with 409 STALE_PAGE when it no longer matches live.

name
string

Response

New head version id

The response is of type object.