Harbor Discovery

List Harbor Connections

Changed on

Lists profile-authorized connections and capabilities for the current Harbor credential.

get/api/harbor/connections

Request

  • Base URL
    https://app.polytomic.com
  • Auth
    • HTTP bearer
    • or HTTP basic

Query parameters

limitinteger

Maximum number of results to return

page_tokenstring

Token from the previous page

Headers

X-Polytomic-Versionstring
X-Polytomic-Harbor-Sessionstring

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

X-Polytomic-Activity-Request-IDstring

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"
    }
  ],
  "pagination": {
    "next_page_token": "AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K=="
  }
}

Changes

    • warning

      added the new query enum value to the /// response property for the response status

    • warning

      added the new record_view_links enum value to the /// response property for the response status

    • warning

      added the new schemas enum value to the /// response property for the response status

    • breaking

      the response's property type changed from object to no type for status

    • warning

      removed the optional property / from the response with the status

    • info

      added to the response property allOf list for the response status