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

Connectors

Fetch table detail for a saved connector

GET/connectors/{uuid}/detail

Returns detailed metadata for a specific table on the saved connector. tableName is required; databaseName defaults to the connector's configured database, schemaName defaults to the connector type's default schema, and isView is optional.

Authorizations

  • Authorizationstringheaderrequired

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

Request

curl --request GET \
  --url 'https://api.artie.com/connectors/{uuid}/detail?tableName=<tableName>' \
  --header 'Authorization: Bearer <token>'

Path parameters

  • uuidstringrequired

Query parameters

  • databaseNamestring
  • schemaNamestring
  • tableNamestringrequired
  • isViewboolean

Responses

200OKapplication/json

  • columnsobject[]
    Show child attributes
    • metadataobjectrequired
      Show child attributes
      • commentstring
      • dataTypestringrequired
      • defaultValuestring
      • isPrimaryKeyboolean
      • notNullbooleanrequired
    • namestringrequired
  • createdAtstring<date-time> | nullrequired
  • isViewbooleanrequired
  • metadataobject[]
    Show child attributes
    • isDatebooleanrequired
    • keystringrequired
    • valuestring | number | boolean | object | (string | number | boolean | object | null)[] | nullrequired
      Show child attributes
      • Option 1string
      • Option 2number
      • Option 3boolean
      • Option 4object
      • Option 5(string | number | boolean | object | null)[]
        Show child attributes
        • Option 1string
        • Option 2number
        • Option 3boolean
        • Option 4object
        • Option 5null
      • Option 6null
  • modifiedAtstring<date-time> | nullrequired
  • namestringrequired
  • schemastringrequired
  • unreadablebooleanrequired

400Bad Request

500Internal Server Error

200 OK
{
  "columns": [
    {
      "metadata": {
        "comment": "<string>",
        "dataType": "<string>",
        "defaultValue": "<string>",
        "isPrimaryKey": true,
        "notNull": true
      },
      "name": "<string>"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "isView": true,
  "metadata": [
    {
      "isDate": true,
      "key": "<string>",
      "value": "<string>"
    }
  ],
  "modifiedAt": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "schema": "<string>",
  "unreadable": true
}

Was this page helpful?