Save Harbor Context Draft
Creates or completely replaces the mutable draft for a Harbor context document.
The request supplies the complete draft payload. If a draft already exists,
this request replaces it while preserving the draft ID, creation metadata, and
base_revision_id.
A new draft for a published document records the current revision as its base.
An unpublished document’s initial draft keeps a null base when replaced. Saving
a draft does not change published content or its updated_at. Creator and
updater provenance comes from the request actor; system actors have a null actor
ID.
Authentication
Basic organization-scoped API key
Path parameters
Headers
Harbor session token; when supplied, the session must be active and bound to this credential and Harbor.
New nonzero UUID for each request, required for scoped credentials; a reused value is rejected.
Request
Complete plain-text draft content. Maximum 20,000 characters.
Human-readable draft title. Maximum 200 characters.
