본문으로 건너뛰기

ConnectorCreate

Payload used to create Connector. Required fields are name, type.

nameName (string)필수
alias object
하나 이상(anyOf)
string
typeType (string)필수

Connector category selected from the supported connector types.

driver object

Built-in connector driver identifier returned in connector type metadata. Omit this field for a custom connector defined by script; when provided, the driver type must match type.

하나 이상(anyOf)
string
collection_id object

Identifier of the containing collection.

하나 이상(anyOf)
string

Possible values: non-empty

tags object
하나 이상(anyOf)
  • Array [
  • string
  • ]
  • description object
    하나 이상(anyOf)
    string
    is_builtinIs Builtin (boolean)

    Whether this is a built-in connector

    기본값: false
    options object
    property name*any
    기본값: {}
    credentials object
    property name* ConnectorCredentialInput

    Request-only connector credential value.

    valueValue (string)필수

    Possible values: non-empty

    scriptScript (string)

    Connector script

    기본값:
    packagesstring[]

    Required Python packages

    기본값: []
    metadata object
    하나 이상(anyOf)
    object
    ConnectorCreate
    {
    "name": "string",
    "alias": "string",
    "type": "string",
    "driver": "string",
    "collection_id": "string",
    "tags": [
    "string"
    ],
    "description": "string",
    "is_builtin": false,
    "options": {},
    "credentials": {},
    "script": "",
    "packages": [
    "string"
    ],
    "metadata": {}
    }