Get Harbor Context Draft

Beta

Returns the mutable draft for a Harbor context document.

Drafts are available only through the draft endpoints. base_revision_id identifies the published revision from which the candidate was created. Normal context reads and Harbor MCP tools continue to return the current published version. Creator and updater IDs are null when their actor type is system.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

harbor_idstringRequiredformat: "uuid"
Unique identifier of the Harbor.
context_idstringRequiredformat: "uuid"
Unique identifier of the context document.

Headers

X-Polytomic-VersionstringOptional

Response

OK
dataobjectOptional

Errors

403
Forbidden Error
404
Not Found Error
500
Internal Server Error