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

Connectors

Fetch tables for a saved connector

GET/connectors/{uuid}/tables

Lists available tables on the target using a saved connector's configuration. databaseName defaults to the connector's configured database; schemaName defaults to the connector type's default schema (e.g. 'public' for Postgres, 'dbo' for SQL Server).

Authorizations

  • Authorizationstringheaderrequired

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

Request

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

Path parameters

  • uuidstringrequired

Query parameters

  • databaseNamestring
  • schemaNamestring

Responses

200OKapplication/json

  • itemsobject[]required
    Show child attributes
    • 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
{
  "items": [
    {
      "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?