Skip to navigation

List Harbor Contexts

Beta

Lists context document metadata for a Harbor without returning document content.

Collection items include the current published version number and omit content. Use the context item endpoint to retrieve a complete document.

A Harbor profile credential can read context only when harbor_id identifies its own Harbor.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

harbor_idstringRequiredformat: "uuid"
Unique identifier of the Harbor

Headers

X-Polytomic-VersionstringOptional
X-Polytomic-Harbor-SessionstringOptional

Harbor session token; when supplied, the session must be active and bound to this credential and Harbor.

X-Polytomic-Activity-Request-IDstringOptional

New nonzero UUID for each request, required for scoped credentials; a reused value is rejected.

Query parameters

limitintegerOptional1-50Defaults to 50
Maximum number of context documents to return. Defaults to 50 and cannot exceed 50.
page_tokenstringOptional
Opaque pagination cursor returned by the previous request

Response

OK
datalist of objects or nullOptional
Context documents on this page
paginationobjectOptional
Pagination details for the next page

Errors

403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error