00c653316d35
latestOpenAPI 3.0.32026-08-13154321638.4 KBHarbors
Get Harbor Context Document
Returns one complete Harbor context document.
The response includes the complete plain-text content.
A Harbor profile credential can read context only when harbor_id identifies its own Harbor.
get/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
Response
OK
Example response
{
"data": {
"id": "248df4b7-aa70-47b8-a036-33ac447e668d"
}
}