42f4cfea0ea3

latestOpenAPI 3.0.32026-08-14154321638.7 KB
Harbors

Update Harbor Context

Replaces one Harbor context document.

The request replaces the title, description, and content in one operation.

put/api/harbors/{harbor_id}/contexts/{context_id}

Path parameters

harbor_idstring uuid required

Unique identifier of the Harbor.

Example:248df4b7-aa70-47b8-a036-33ac447e668d

Unique identifier of the Harbor.

context_idstring uuid required

Unique identifier of the context document.

Example:248df4b7-aa70-47b8-a036-33ac447e668d

Unique identifier of the context document.

Headers

X-Polytomic-Versionstring

Request body

contentstring required

Plain-text context content. Maximum 20,000 characters.

descriptionstring

Short summary of the context document. Maximum 1,000 characters.

titlestring required

Human-readable context title. Maximum 200 characters.

Example request

{
  "content": "Bookings use the contract signed date...",
  "description": "Definitions used in revenue reporting",
  "title": "Revenue definitions"
}

Response

OK

Example response

{
  "data": {
    "id": "248df4b7-aa70-47b8-a036-33ac447e668d"
  }
}