Data types

List the driver data-type catalog

The catalog of column data types, grouped per driver. Use it to resolve the driver_data_type_name on schema columns (the schema formats identify types by name, not by internal id). The catalog is global and static per driver — it changes only when DrawSQL ships new types.

Supports ETag conditional requests (the ETag hashes the catalog, so it is stable between deploys). Rate limit: 60 requests/minute per token.

get/data-types

Request

  • Base URL
    https://api.drawsql.app/v1
  • Auth
    HTTP bearer

Query parameters

driver'mysql' | 'pgsql' | 'sqlsrv'

Narrow the catalog to a single driver.

Headers

If-None-Matchstring

An ETag from a previous response. Returns 304 if unchanged.

Response

The data-type catalog, grouped per driver.

dataobject required

Data types keyed by driver.

Changes

No recorded changes to this operation across all 1 revision of this API.