Get Harbor Context Document
Changed onReturns one complete Harbor context document.
The response includes the current published version number and complete plain-text content.
A Harbor profile credential can read context only when harbor_id identifies its own Harbor.
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
Unique identifier of the Harbor
Unique identifier of the context document
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.
Response
OK
Example response
{
"data": {
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"revision_id": "248df4b7-aa70-47b8-a036-33ac447e668d"
}
}Changes
- breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status
- breaking
- info
added the new optional
headerrequest parameterX-Polytomic-Activity-Request-ID - info
added the new optional
headerrequest parameterX-Polytomic-Harbor-Session - info
added the optional property
/to the response with the status
- info