Update Harbor Context
Replaces one Harbor context document.
Each successful request publishes the next immutable version. You can omit
change_note.
A direct publication leaves an existing draft unchanged.
Authentication
AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic
Basic organization-scoped API key
Path parameters
harbor_id
Unique identifier of the Harbor
context_id
Unique identifier of the context document
Headers
X-Polytomic-Version
X-Polytomic-Harbor-Session
Harbor session token; when supplied, the session must be active and bound to this credential and Harbor.
X-Polytomic-Activity-Request-ID
New nonzero UUID for each request, required for scoped credentials; a reused value is rejected.
Request
This endpoint expects an object.
content
Plain-text context content. Maximum 20,000 characters.
title
Human-readable context title. Maximum 200 characters.
change_note
Optional note describing this published change
description
Short summary of the context document. Maximum 1,000 characters.
Response
OK
data
The context document
Errors
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
