For the complete documentation index, see llms.txt. This page is also available as Markdown.

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
200Success
application/yaml
string · binaryOptional
get/api/v1/environments/{environment}/proxy/api/v1/resource/kafka/connect/{connect-cluster-name}/connector/{connector-name}
GET /api/v1/environments/{environment}/proxy/api/v1/resource/kafka/connect/{connect-cluster-name}/connector/{connector-name} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binary

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
200Success
application/json
object · agent_JsonObjectOptional

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
GET /api/v1/environments/{environment}/proxy/api/v1/resource/kafka/connect/{connect-cluster-name}/connector-class/{connector-class-name}/schema HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{}

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
201Success

No content

put/api/v1/environments/{environment}/proxy/api/v1/resource
PUT /api/v1/environments/{environment}/proxy/api/v1/resource HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/yaml
Accept: */*
Content-Length: 8

"binary
"

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
201Success

No content

put/api/v1/environments/{environment}/proxy/api/v1/resource/resource-file-upload
PUT /api/v1/environments/{environment}/proxy/api/v1/resource/resource-file-upload HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 8

"binary"

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
200Success
application/json
classstringRequired
post/api/v1/environments/{environment}/proxy/api/v1/resource/validate
POST /api/v1/environments/{environment}/proxy/api/v1/resource/validate HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/yaml
Accept: */*
Content-Length: 8

"binary
"
{
  "class": "text",
  "configuration": [
    {
      "name": "text",
      "required": true,
      "order": 1,
      "documentation": "text",
      "errors": [
        "text"
      ],
      "visible": true,
      "value": "text",
      "defaultValue": "text"
    }
  ]
}

Last updated

Was this helpful?