00c653316d35

latestOpenAPI 3.0.32026-08-13154321638.4 KB
Harbors

List Harbor Contexts

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

Collection items 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.

get/api/harbors/{harbor_id}/contexts

Path parameters

harbor_idstring uuid required

Unique identifier of the Harbor.

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

Unique identifier of the Harbor.

Query parameters

limitinteger

Maximum number of context documents to return. Defaults to 50 and cannot exceed 50.

Example:50

Maximum number of context documents to return. Defaults to 50 and cannot exceed 50.

page_tokenstring

Opaque pagination cursor returned by the previous request.

Opaque pagination cursor returned by the previous request.

Headers

X-Polytomic-Versionstring

Response

OK

Example response

{
  "data": [
    {
      "id": "248df4b7-aa70-47b8-a036-33ac447e668d"
    }
  ],
  "pagination": {
    "next_page_token": "AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K=="
  }
}