Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Connectors

Ping a connector

POST/connectors/ping

Tests network connectivity and authentication for a connector configuration before saving it. Pass type, sharedConfig, and connectionRole. Success is 204; 422 means the connection attempt failed, with the reason in error.

Authorizations

  • Authorizationstringheaderrequired

    API key passed as a Bearer token in the Authorization header.

Request

curl --request POST \
  --url https://api.artie.com/connectors/ping \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "connectionRole": "source",
  "dataPlaneName": "<string>",
  "defaultDatabase": "<string>",
  "draftPipelineUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "environmentUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "label": "<string>",
  "privateLinkUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sharedConfig": {},
  "snapshotPrivateLinkUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sshTunnelUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "<string>",
  "uuid": "<string>"
}'

Body

application/json

  • connectionRolestring

    Available options: source, destination

  • dataPlaneNamestring
  • defaultDatabasestring | null
  • draftPipelineUUIDstring<uuid> | null

    On create only: the draft pipeline this connector is for.

  • environmentUUIDstring<uuid> | null
  • labelstring
  • privateLinkUUIDstring<uuid> | null
  • sharedConfigobject | null
  • snapshotPrivateLinkUUIDstring<uuid> | null
  • sshTunnelUUIDstring<uuid> | null
  • typestring
  • uuidstring

Responses

204No Content

400Bad Request

422Unprocessable Entityapplication/json

  • errorstringrequired
422 Unprocessable Entity
{
  "error": "<string>"
}

Was this page helpful?