As Code

Get connector resource definition

get

Fetches the current target definition for a connector

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
connect-cluster-namestringRequiredExample: cluster
connector-namestringRequiredExample: connector
Responses
chevron-right
200Success
application/yaml
string · binaryOptional
get
/api/v1/environments/{environment}/proxy/api/v1/resource/kafka/connect/{connect-cluster-name}/connector/{connector-name}

Get connector resource JSON schema

get

Fetches the JSON schema for a connector resource based on the connector class

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
connect-cluster-namestringRequiredExample: cluster
connector-class-namestringRequiredExample: org.apache.kafka.connect.file.FileStreamSinkConnector
Responses
chevron-right
200Success
application/json
objectOptional

JSON Schema representation of the configuration properties

get
/api/v1/environments/{environment}/proxy/api/v1/resource/kafka/connect/{connect-cluster-name}/connector-class/{connector-class-name}/schema

Apply a resource spec

put

Applies a given resource spec.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
string · binaryOptional
Responses
put
/api/v1/environments/{environment}/proxy/api/v1/resource

No content

Apply a resource spec from files

put

Applies a given resource spec.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
string · binaryOptional
Responses
put
/api/v1/environments/{environment}/proxy/api/v1/resource/resource-file-upload

No content

Validate a resource spec

post

Validates a connector resource spec without creating or updating it

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
string · binaryOptional
Responses
chevron-right
200Success
application/json
classstringRequired
post
/api/v1/environments/{environment}/proxy/api/v1/resource/validate

Last updated

Was this helpful?