Harbor Discovery

Get Harbor Connection Schema

Changed on

Returns one schema resource authorized by the current Harbor profile.

get/api/harbor/connections/{connection_id}/schemas/{schema_id}

Request

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

Path parameters

connection_idstring uuid required

Connection ID

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

Schema ID

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": {
    "fields": [
      {
        "id": "email",
        "is_primary_key": true,
        "name": "Email",
        "primary_key_override": true,
        "remote_type": "varchar(255)"
      }
    ],
    "id": "contact",
    "name": "Contact"
  }
}

Changes

    • 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

    • 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 property allOf list for the response status

    • breaking

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

    • breaking

      the /// response's property type changed from string to 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

    • info

      added to the /// response property allOf list for the response status

    • info

      added to the /// response property allOf list for the response status

    • info

      added to the /// response property allOf list for the response status

    • info

      removed the array enum value from the /// response property for the response status

    • info

      removed the binary enum value from the /// response property for the response status

    • info

      removed the boolean enum value from the /// response property for the response status

    • info

      removed the datetime enum value from the /// response property for the response status

    • info

      removed the number enum value from the /// response property for the response status

    • info

      removed the object enum value from the /// response property for the response status

    • info

      removed the string enum value from the /// response property for the response status

    • info

      removed the unknown enum value from the /// response property for the response status