Get Connection Type

Returns the JSON schema for a connection type.

This schema is intended for building forms or validating configuration payloads client-side. It describes the structure Polytomic expects when you create or update a connection of the given type.

The response is metadata about the shape of the configuration, not a live connection instance and not a set of current credential values.

Authentication

AuthorizationBasic

This is the Polytomic deployment key (on-premises only)

OR
AuthorizationBearer
This is the Polytomic API key

Path parameters

idstringRequired

Connection type identifier (e.g. postgresql, salesforce, hubspot).

Headers

X-Polytomic-VersionstringRequired

Response

OK
$anchorstring
$commentstring
$defsmap from strings to objects
$dynamicRefstring
$idstring
$refstring
$schemastring
additionalPropertiesobject
allOflist of objects
anyOflist of objects
constany
containsobject
contentEncodingstring
contentMediaTypestring
contentSchemaobject
defaultany
dependentRequiredmap from strings to lists of strings
dependentSchemasmap from strings to objects
deprecatedboolean
descriptionstring
elseobject
enumlist of any
exampleslist of any
exclusiveMaximumstring
exclusiveMinimumstring
formatstring
ifobject
itemsobject
maxContainsinteger or null>=0
maxItemsinteger or null>=0
maxLengthinteger or null>=0
maxPropertiesinteger or null>=0
maximumstring
minContainsinteger or null>=0
minItemsinteger or null>=0
minLengthinteger or null>=0
minPropertiesinteger or null>=0
minimumstring
multipleOfstring
notobject
oneOflist of objects
patternstring
patternPropertiesmap from strings to objects
prefixItemslist of objects
propertiesobject
propertyNamesobject
readOnlyboolean
requiredlist of strings
thenobject
titlestring
typestring
uniqueItemsboolean
writeOnlyboolean

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error